Posts

Question and answer

Image
1. Name the components of CPU Answer: a) ALU    b) PC   c) Accumulator   d) MAR   e) IR    f) ID   g) MDR 2. What is the use of registers in CPU? Answer: It is used to store intermediate data and instructions. 3. What is the function of MAR? Answer: It specifies the address of memory location from which data or instruction is to be accessed or to which the data is to be stored. 4. What is the function of MDR / MBR? Answer: It contains the data to be written into or read from memory location addressed by MAR. 5. What is program counter? Answer: It keeps track of the memory address of the instruction that is to be executed next. 6. What is the function of IR? Answer: It contains the instruction that is being executed. 7. What is the purpose of Instruction Decoder? Answer: It decodes the instructions. 8. What is a data bus? Answer: It carries a word to or from memory. ...

Functions based Qs and answer in C programming

1. What is a function? Answer:- A function is a small segment of the program(sub program) designed to perform a specific task and return a result to the main or calling program. 2. What are the different types of functions supported in “C” language? Answer:- C supports two types of functions. They are 1. Built-in / Library functions 2. User defined functions 3. What are library functions? Answer:- Some of the operations are programmed and stored in C library so that they can be called in the program. These functions are called as library functions. Eg : printf(), sqrt(), pow() 4. What is a user defined function? Answer:- A user-defined function is a complete and independent program unit, which can be used(or invoked) by the main program or by other sub-programs. 5. Mention the need for a function Answer:- If there are a number of statements that are repeatedly needed in the same program at different locations,then a function may be used. 6. What do you mean by a calling ...

Array based Qs and answers

1) What is an array? Answer:- An array is a group of data of the same data type stored in successive storage locations. 2)How are elements of an array accessed? Answer:- Elements of an array are accessed using subscripts. 3)What is a subscript? Answer:- A subscript or an index is a positive integer value that identifies the storage position of an element in the array. 4)Which is the smallest subscript? Answer:- 0 (zero) 5)How many subscripts does a one and two dimensional array have? Answer:- one dimensional array has one subscript and a two dimensional array has two subscripts( row and a column subscript). 6)Write the syntax for declaring a one dimensional array. Answer:- syntax: datatype arrayname [size]; 7) Write the syntax for declaring a two dimensional array. Answer:- Syntax: datatype arrayname [row size] [column size]; 8) What do you mean by initializing an array? Answer:- Initializing of an array means storing data in to ...

Unix based Qs and ans

1. What are the events done by the Kernel after a process is being swapped out from the main memory? Answer :- 1.Kernel decrements the Reference Count of each region of the process. If the reference count becomes zero, swaps the region out of the main memory, 2.Kernel allocates the space for the swapping process in the swap device, 3.Kernel locks the other swapping process while the current swapping operation is going on, 4.The Kernel saves the swap address of the region in the region table. 2.Is the Process before and after the swap are the same? Give reason. Answer :- 1.Process before swapping is residing in the primary memory in its original form. The regions (text, data and stack) may not be occupied fully by the process, there may be few empty slots in any of the regions and while swapping Kernel do not bother about the empty slots while swapping the process out. 2.After swapping the process resides in the swap (secondary memory) device. The regions swapped out w...

Install Windows

To install Windows XP operating system follow steps :- Minimum System Requirements:- 300 MHz Intel or AMD CPU 128 megabytes (MB) of system RAM 1.5 gigabytes (GB) of available drive space Super VGA (800x600) or higher display adapter CD or DVD-ROM Keyboard and mouse, or other pointing devices Network Interface Adapter required for Internet and Network Connectivity Turn your computer on then press Del or F2 to enter the system BIOS Go to Boot menu and choose Boot From CD/DVD. Press F10 to save the configuration and exit BIOS then reset your computer. Insert Windows XP DVD into your DVD drive then start up your computer, Step 1:- Load the installer .  Once your Boot Order is set, insert the Windows XP CD into your drive and Save and Exit from the BIOS. Your computer will reboot and you will be presented with the message: Press any key to boot from CD. Press any key on your keyboard to start the Setup program. Setup will load files necessary to begin the installatio...

Solve Computer Science Questions

1. With four programs in memory and with 80% average I/O wait , the CPU utilization is? A) 60 % B) 70 % C) 90 % D) 100 % 2. To employ multi - access in GSM , users are given different: A) time slots B) bandpass filters C) handsets D) frequency bands 3.What will be the value of 'b' after the execution of the following code statements: c = 10; b = ++c + ++c; A) 20 B) 22 C) 23 D) None 4. What of the following does not represent a valid storage class in 'c'? A) automatic B) static C) union D) extern 5. Find the odd man out : A) tail B) cut C) wart D) sed 6. We can not delete the ____icon but we can made it invisible. A) Recycle B) My computer C) Internet explorer D) None of the above 7. The device which connects dissimilar LAN's of different topologies using different sets of communication protocols so that information can flow from one to another is called: A) Router B) Bridge C) Gateway D) Switch 8. Capability Maturity Model is meant for; ...

Solve Questions on GK and common

Image
1. Find out the wrong number in the sequence. 52, 51, 48, 43, 34, 27, 16 A) 27 B) 34 C) 43 D) 48 2. The letters in the first set have a certain relationship. On the basis of this relationship mark the right choice for the second set: A) FHJL B) RPNL C) LNPR D) LJHF 3.Insert the missing number in the following: 3, 8, 18, 23, 33, ?, 48 A) 37 B) 40 C) 38 D) 45 4.In a certain code ,CLOCK is written as KCOLC.How would STEPS be written in that code? A) SPEST B) SPSET C) SPETS D) SEPTS 5. 'No man are mortal'  is contradictory of: A) Some man are mortal B) Some man are not mortal C) All men are mortal D) No mortal is man 6.Two ladies and two men are playing bridge and seated at North, East, South and West of a table. No lady is facing East.Persons sitting opposite to each other are not of the same sex. One man is facing South. Which direction are the laddies facing to? A) East and West B) North and West C) South East D) None of these...