Saturday, June 7, 2008

Paper5

1) The different stages of compilation are

a. preprocessor, compiler, assembler, loader, linker

b. preprocessor, compiler, assembler, linker, loader (ans)

c. preprocessor, assembler, compiler, linker, loader

d. preprocessor, compiler, linker, assembler, loader

2) Round Robin algorithm is used in

a. memory management

b. cpu scheduling (ans)

c. deadlock detection

d. none of the above

3) Multiprogamming is used

a. to maximize cpu utilization (ans)

b. to increase process execution time

c. to save memory

d. none of the above

4) Drawback in paging is

a. internal fragmentation (ans)

b. external fragmentation

c. both (a) and (b)

d. none of the above

5) Belady's Anomaly occurs in which page replacement algorithm?

a. fifo (ans)

b. lru

c. lfu

d. none





1) a relocatable code is

a) portable code

b) code generated for virtual address

c) ready to run anywhere in memory

d) both b & c (ans)

2) Memory management unit(MMU)

a) is software

b) hardware

c) both a & b (ans)

d) none

3) C is a

a) low level language

b) high level language

c) middle level language (ans)

d) portable language

4) symbol table used for

a)preprocessing

b)generating machine code

c)resolving external references

d)both b & c (ans)

e) none

5)dispatcher is used in

a)memory management

b)deadlock

c)scheduling (ans)

d)none

6) use of virtual memory

a) to support executables larger than memory size (ans)

b) to increase speed of execution


c) both


d) none



Computer Concepts



1 spooling is the acronym for

(a) simultaneous processors operation online

(b) simultaneous peripheral operation online

(c) simultaneous peripheral operation over line

(d) simultaneous processor online operation

ans : (b)



2 Telnet is

(a) Application layer protocol

(b) Network Layer protocol

(c) used by Link Layer for sending frames

(d) None of the above

ans : (a)



3 socket in network programming is

(a) an electrical device

(b) IPC

(c) synchronization tool

(d) Network layer protocol

ans : (b)



4 DMA stands for

(a) Direct Memory Access

(b) Directional Momentary Acess

(c) Directional Major device Access

(d) Direct Minor device Access

ans : (a)



5 Linux

(a) has hierarchical file system

(b) has FAT

(c) treats peripheral devices as files

(d) both (a) & (c)

ans : (d)





1. in case memory maped i/o which one is not true

a. there a is seperate address space for i/o operation

b. special instruction are used for i/o data transfer

c. memory address may overlap

d. none of the above.

Ans. a





2 DMA requires

a.most of the cpu time

b.cash

c.CPU instantiation.

d.main memory.

Ans c



3. special i/o instruction r required for

a.Memory mapped i/o

b.i/o mapped i/o

c.both of these

d.none of these

Ans a



4. out put of complier is

a.assembly code

b.object code

c.machine code

d.none of the above

Ans b.

5 which one these is onchip mem

a.mainmemory

b.cash



1.which one of the following is wrong

A. 2's complement(10110) = 01010 B. 4's complement(1230)=2110

C. 8's complement(7436)=1451 @ D. 5's complement(4322)=0123




2.(128)base 10 = (1003)base r, what is the value of r?

A. 3 B. 4

C. 5 @ D. 6



3. In design of instruction set

A. RISC uses more no of instructions. B. CISC uses more no.of instructions @

C. Both uses same no. of instruction. D. RISC uses mor than CISC



4. which phase of the compiler checks lexicographic errors

A. Syntax Phase B. Semantic Phase

C. Lexical Analysis @ D.Code Optimization



5. Random accessing is possible in

A. Read Only Memory(ROM) B. Random Access Memory(RAM)

C. Both RAM and ROM @ D. None of the above.



// Computer Concepts questions

1.Who is called the father of Computers ?

a) Blaise Pascal

b) Herman Hollerith

c) Antony Van

d) Charles Babbage

Ans .(d)

2.How many columns did Punched Card have ?

a) 24

b) 100

c) 80

d) 16

Ans.(c)

3.What does the acronym FTP stand for ?

a)File Transmission Protocol

b)File Transfer Protocol

b)Fifo Termination Pointer

d)File Tracking Pointer

Ans.(b)

4.Which company was involved in the development of Unix?

a)Microsoft

b)IBM

c)AT&T

d)Hewlett Packard

Ans.(c)

5.What does acronym RISC stand for ?

a)Rapid Instruction Set Computers

b)Rapid Integer Signalling Computers

c)Reduced Instruction Set Computers

d)Reliable Instruction Set Computers

Ans.(c)





1.) Who is the originator of MS-DOS

a. Gary Kildall

b. Dennis Ritchie

c. Tim Patterson *

d. Ken Thompson

No comments: