Header Ads

Computer Science Question Paper for IMD

             (Put your comment here if you found any wrong answer )
1- Which of the following units can be used to measure the speed of a computer?
1) Both SYPS and MIPS
2) Both MIPS and FLOP
3) BAUD
4) Both BAUD and SYPS
Correct Answer: Both MIPS and FLOP


2 - If (11A1B)8 = (12C9)16 , then what are the values of A and B? (C stands for decimal 12)
1) A = 5, B = 1
2) A = 7, B = 5
3) A = 5, B = 7
4) A = 3 , B = 1
Correct Answer: A = 3 , B = 1
3 - The total number of possible Boolean functions involving 'n' Boolean variables is
1) Infinite
2) nn
3) n2
4) None of these
Correct Answer: None of these
4 - Which of the following architecture(s) is / are not suitable for realizing SIMD?
1) Vector processor and Array processor
2) Von Neumann
3) Array processor
4) Von Neumann and Array processor
Correct Answer: Von Neumann
5 - The number of 2-input multiplexers that are required to construct a 210 - input multiplexer is
1) 1024
2) 1023
3) 32
4) 31
Correct Answer: 1023
6 - Bipolar devices are desirable in the fabrication of which of the following components?
1) Main memory
2) Cache memory
3) Microprogram memory
4) Cache and Microprogram memory
Correct Answer: Cache and Microprogram memory
7 - On which of the following is the idea of cache memory based?
1) Property of locality of reference
2) Fact that only a small portion of a program is referenced relatively frequently
3) Fact that references generally tend to cluster
4) All options are correct
Correct Answer: Property of locality of reference
8 - By which of the following the data entry cannot be performed?
1) OCR / OMR
2) COM
3) Voice-recognition systems
4) MICR
Correct Answer: COM
9 - Which of the following statements is true?
1) Magnetic tape can serve as an input media.
2) Magnetic tape can serve as output media.
3) Magnetic tape can serve as secondary-storage media.
4) All options are correct
Correct Answer: All options are correct
10 - Which of the following statements is true?
1) Extended ASCII uses 8 bits for coding.
2) Extended ASCII uses 9 bits for coding.
3) Extended ASCII uses 10 bits for coding.
4) Extended ASCII uses 11 bits for coding.
Correct Answer: Extended ASCII uses 8 bits for coding.
11 - Which of the following refers to anonymous FTP?
1) Internet file transfer protocol
2) Protocol that requires password
3) None access files
4) None of these
Correct Answer: Internet file transfer protocol
12 - The technique of using disk space to make programs believe that the system contains more random access memory (RAM) than is actually available is called
1) Virtual memory
2) Secondary memory
3) Primary memory
4) Dual memory
Correct Answer: Virtual memory
13 - Which of the following statements is true?
1) ROM is a read/write memory.
2) PC points to the last instruction that was executed.
3) Stack works on the principle of LIFO.
4) All instructions affect the flag.
Correct Answer: Stack works on the principle of LIFO.
14 - Computer output which is displayed on the screen without a permanent copy is called
1) Soft copy
2) Hard copy
3) Hardware
4) None of these
Correct Answer: Soft copy
15 - The set of computer programs, procedures, and associated documentation related to the effective operation of a computer system is referred as
1) Software
2) Hardware
3) Hard copy
4) Soft copy
Correct Answer: Software
16 - The principle of locality of reference justifies the use of
1) re-enterable
2) non reusable
3) virtual memory
4) cache memory
Correct Answer: cache memory
17 - The register or main memory location which contains the effective address of the operand is known as
1) pointer
2) indexed register
3) special location
4) scratch pad
Correct Answer: pointer
18 - Which of the following rules not the use of GO TO?
1) Flowchart
2) HIPO-DIAGRAMS
3) Nassi-Shneiderman diagram
4) None of these
Correct Answer: Nassi-Shneiderman diagram
19 - A system program that sets up an executable program in main memory ready for execution is
1) assembler
2) linker
3) loader
4) compiler
Correct Answer: loader
20 - Which of the following are loaded into main memory when the computer is booted?
1) internal command instructions
2) external command instructions
3) utility programs
4) word processing instructions
Correct Answer: internal command instructions
21 - Which of the following statements is true?
1) A process is thrashing if it spends a lot of time executing, rather than paging.
2) A process is thrashing if it spends a lot of time paging, rather than executing.
3) A process is thrashing if it has not memory allocated to it.
4) None of these
Correct Answer: A process is thrashing if it spends a lot of time paging, rather than executing.
22 - Which of the following statements is true?
1) A program is generally composed of several different localities, which may overlap.
2) A program is generally composed of several different localities, which must overlap.
3) A program is generally composed of several different localities, which do not overlap.
4) A program is generally composed of several different localities, which must not overlap.
Correct Answer: A program is generally composed of several different localities, which may overlap.
23 - If the working window set is too large
1) it will not encompass entire locality
2) it may overlap several localities
3) it will cause memory problems
4) None of these
Correct Answer: it may overlap several localities
24 - Consider the following page reference string :
1 2 3 4 2 1 5 6 2 1 2 3 7 6 3 2 1 2 3 6
For FIFO page replacement algorithms with 4 frames (first unique pages will all cost one fault each), the number of page faults is
1) 14
2) 15
3) 11
4) 12
Correct Answer: 14
25 - How do you call the following arrangement?
A device P has a cable that plugs into device Q, and device Q has a cable that plugs into device R and device R plugs into a port on the computer.
1) Port
2) Daisy chain
3) Bus
4) Cable
Correct Answer: Daisy chain
26 - Which of the following statements is true?
1) A controller is a collection of electronics that can operate a port, a bus, or a device.
2) A driver is a collection of electronics that can operate a port, a bus, or a device.
3) A host is a collection of electronics that can operate a port, a bus, or a device.
4) A bus is a collection of electronics that can operate a port, a bus, or a device.
Correct Answer: A controller is a collection of electronics that can operate a port, a bus, or a device.
27 - A process refers to 5 pages A, B, C, D and E in the order - A, B, C, D, A, B, E, A, B, C D, E.
If the pages replacement algorithm is FIFO, then the number of pages which transfer with an empty internal store of 4 frames is
1) 9
2) 10
3) 11
4) 12
Correct Answer: 10
28 - Which of the following registers is written by the host to send output?
1) Status
2) Control
3) Data in
4) Data out
Correct Answer: Data out
29 - Which of the following statements is true?
A: To create a file one has to allocate the space in file system.
B: To create a file, one has to make an entry for new file in directory.
1) Only A
2) Only B
3) Both A and B
4) Neither A and nor B
Correct Answer: Both A and B
30 - _____________ file is a sequence of bytes organized into blocks understandable by the system's linker.
1) Object
2) Source
3) Executable
4) Text
Correct Answer: Object
31 - Spatial locality refers to the problem that once a location is referenced
1) it will not be referenced again
2) it will be referenced again
3) a nearby location will be referenced soon
4) None of these
Correct Answer: a nearby location will be referenced soon
32 - Page fault occurs when
1) the page is corrupted by application software
2) the page is in main memory
3) the page is not in main memory
4) one tries to divide a number by 0
Correct Answer: the page is not in main memory
33 - Which process can be affected by other processes executing in the system?
1) cooperating process
2) child process
3) parent process
4) init process
Correct Answer: cooperating process
34 - Which one of the following is a synchronization tool?
1) thread
2) pipe
3) semaphore
4) socket
Correct Answer: semaphore
35 - Process synchronization can be done on
1) Hardware level
2) Software level
3) Both hardware and software level
4) None of these
Correct Answer: Both hardware and software level
36 - CPU fetches the instruction from memory according to the value of
1) program counter
2) status register
3) instruction register
4) program status word
Correct Answer: program counter
37 - Which one of the following is the address generated by CPU?
1) physical address
2) absolute address
3) logical address
4) physiological address
Correct Answer: logical address
38 - The address of a page table in memory is pointed by
1) stack pointer
2) page table base register
3) page register
4) program counter
Correct Answer: page table base register
39 - The protection domain of a process contains
1) object name
2) rights-set
3) both object name and rights-set
4) None of these
Correct Answer: both object name and rights-set
40 - Which of the following does global table implementation of matrix table contain?
1) domain
2) object
3) right-set
4) All options are correct
Correct Answer: All options are correct
41 - Those processes should be aborted on occurrence of a deadlock, the termination of which
1) is more time consuming
2) incurs minimum cost
3) safety is not hampered
4) All options are correct
Correct Answer: incurs minimum cost
42 - The solution to starvation is :
1) the number of rollbacks must be included in the cost factor
2) the number of resources must be included in resource preemption
3) resource preemption be done instead
4) All options are correct
Correct Answer: the number of rollbacks must be included in the cost factor
43 - Which of the following is used as an index into the page table?
1) Frame bit
2) Page number
3) Page offset
4) Frame offset
Correct Answer: Page number
44 - Which of the following table contains the base address of each page in physical memory?
1) Process
2) Memory
3) Page
4) Frame
Correct Answer: Page
45 - With paging there is no ________ fragmentation.
1) internal
2) external
3) both internal and external
4) None of these
Correct Answer: external
46 - Which of the following statements is true?
1) A block device transfers bytes one by one.
2) A block device transfers block of bytes as a unit.
3) A block device transfers with unpredictable response times.
4) None of these
Correct Answer: A block device transfers block of bytes as a unit.
47 - Which of the following is true about an asynchronous call?
1) It returns immediately, without waiting for the I/O to complete.
2) It does not return immediately and waits for the I/O to complete.
3) It consumes a lot of time.
4) It is too slow.
Correct Answer: It returns immediately, without waiting for the I/O to complete.
48 - Which of the following statements is not true?
1) Catching is fast memory.
2) Caching transparently stores data in component called Cache, so that future request for that data can be served faster.
3) Caching holds output for a device
4) The data that is stored within a cache might be values that have been computed earlier or duplicates of original values that are stored elsewhere.
Correct Answer: Caching holds output for a device
49 - Which of the following keeps state information about the use of I/O components?
1) CPU
2) OS
3) Kernel
4) Shell
Correct Answer: Kernel
50 - Which of the following implementation does windows NT uses for I/O?
1) Message – passing
2) Draft – passing
3) Secondary memory
4) Cache
Correct Answer: Message – passing

51 - Which of the following is the purpose of ORIGIN directive?
1) It is to indicate the starting position in memory, where the program block is to be stored.
2) It is to indicate the starting of the computation code.
3) It is to indicate the purpose of the code.
4) It is to list the locations of all the registers used.
Correct Answer: It is to indicate the starting position in memory, where the program block is to be stored.
52 - Which of the following is the directive used to perform initialization before the execution of the code?
1) Reserve
2) Store
3) Dataword
4) EQU
Correct Answer: Dataword
53 - Which of the following should be the last statement of the source program?
1) Stop
2) Return
3) OP
4) End
Correct Answer: End
54 - Which of the following statements is true?
1) When dealing with the branching code, the assembler replaces the target with its address.
2) When dealing with the branching code, the assembler does not replace until the test condition is satisfied.
3) When dealing with the branching code, the assembler finds the Branch offset and replaces the Branch target with it.
4) When dealing with the branching code, the assembler replaces the target with the value specified by the DATAWORD directive.
Correct Answer: When dealing with the branching code, the assembler finds the Branch offset and replaces the Branch target with it.
55 - In which of the following does the assembler store all the names and their corresponding values?
1) Special purpose Register
2) Symbol Table
3) Value map Set
4) None of these
Correct Answer: Symbol Table
56 - Among the optical-distribution architectures which of the following is essentially switched Ethernet?
1) AON
2) PON
3) NON
4) None of these
Correct Answer: AON
57 - Which of the following factors affect transmission rate in DSL?
1) The gauge of the twisted-pair line
2) Degree of electrical interference
3) Shadow fading
4) Both the gauge of the twisted-pair line and degree of electrical interference
Correct Answer: Both the gauge of the twisted-pair line and degree of electrical interference
58 - By which of the following layers is delimiting and synchronization of data exchange provided?
1) Application layer
2) Session layer
3) Transport layer
4) Link layer
Correct Answer: Session layer
59 - Which of the following statements is not true?
1) Framing task is not done by data link layer.
2) Error control task is not done by data link layer.
3) Flow control task is not done by data link layer.
4) Channel coding task is not done by data link layer.
Correct Answer: Channel coding task is not done by data link layer.
60 - Which of the following statements is true?
1) CRC stands for cyclic redundancy check.
2) CRC stands for code repeat check.
3) CRC stands for code redundancy check.
4) CRC stands for cyclic repeat check.
Correct Answer: CRC stands for cyclic redundancy check.
61 - Which of the following method(s) is/are used to move data through a network of links and switches?
1) Packet switching
2) Circuit switching
3) Line switching
4) Both packet switching and circuit switching
Correct Answer: Both packet switching and circuit switching
62 - Which of the following two protocols does IPsec define?
1) AH; SSL
2) PGP; ESP
3) AH; ESP
4) All options are correct
Correct Answer: AH; ESP
63 - Because TCP process may not write and read data at the same speed, which of the following do we need for storage?
1) Packets
2) Buffers
3) Segments
4) Stacks
Correct Answer: Buffers
64 - Which of the following statements is true?
1) A web browser is a program that can display a web page.
2) A web browser is a program used to view html documents.
3) A web browser enables user to access the resources of internet.
4) All options are correct
Correct Answer: All options are correct
65 - The following that is not used to generate dynamic web pages is
1) PHP
2) ASP.NET
3) JSP
4) None of these
Correct Answer: None of these
66 - There is a network that needs 29 subnets while maximizing the number of host addresses available on each subnet. How many bits must be borrowed from the host field to provide the correct subnet mask?
1) 3
2) 4
3) 6
4) 5
Correct Answer: 5
67 - If the TTL field has value 10, then which of the following statements is true?
1) 11 routers (max) can process this datagram.
2) 5 routers (max) can process this datagram.
3) 10 routers (max) can process this datagram.
4) 1 router (max) can process this datagram.
Correct Answer: 10 routers (max) can process this datagram.
68 - Which of the following about the capabilities of GIS is true?
A. Data capture and preparation
B. Data management, including storage and maintenance
C. Data manipulation and analysis
D. Data presentation
1) Only A
2) Only B and C
3) Only A and C
4) All A, B, C and D
Correct Answer: All A, B, C and D
69 - Which of the following statements is true?
1) Spatial databases are also known as geodatabases.
2) Spatial databases are also known as mono-databases.
3) Spatial databases are also known as concurrent databases.
4) None of these
Correct Answer: Spatial databases are also known as geodatabases.
70 - Which of the following statements is true?
1) A (geographic) field is a geographic phenomena for which, for every point in the study area, a value can be determined.
2) A (geographic) field is a geographic phenomena for which, for every point in the study area, a value cannot be determined.
3) A (geographic) field is a geographic phenomena for which, for every point in the study area, a value is not relevant.
4) A (geographic) field is a geographic phenomena for which, for every point in the study area, a value is missing.
Correct Answer: A (geographic) field is a geographic phenomena for which, for every point in the study area, a value can be determined.
71 - Concerning ‘Discrete fields', which of the following statements is true?
1) Discrete fields divide the study space in mutually exclusive, bounded parts, with all locations in one part having the same field value
2) ‘Land classification' is an example of discrete fields
3) Discrete fields make use of ‘bounded' features
4) All options are correct
Correct Answer: All options are correct
72 - Which of the following statements is true?
1) Nominal & categorical data values are referred to as ‘qualitative data'.
2) Internal & Ratio data is known as ‘quantitative data'.
3) Ordinal data refers to a ranking scheme or some kind of hierarchical phenomena.
4) All options are correct
Correct Answer: All options are correct
73 - Which of the following relationships is correct?
1) Point : (0-Simplex)
2) Line segment : (1-simplex)
3) Triangle : (2-simplex) and Tetrahedron : (3-simplex)
4) All options are correct
Correct Answer: All options are correct
74 - "A GIS is 'a set of tools for collecting, storing, retrieving at will, transforming, and displaying spatial data from the real world for a particular set of purposes"
Which of the following list is the key area of GIS functionality missed out by the above definition?
1) Mapping
2) Reprojection
3) Collation
4) Analysis
Correct Answer: Analysis
75 - Which of the following is not a key concept that is part of our definition of GIS?
1) GIS technologies include GPS and remote sensing.
2) GIS includes both computer systems (hardware) and computer programs (software).
3) GIS can be used in all areas of modern science.
4) People are an important part of GIS.
Correct Answer: GIS can be used in all areas of modern science.
76 - Which of the following statements is true?
1) The basic data type char(n) is a fixed length character string and varchar (n) is equal length character.
2) The basic data type char(n) is a equal length character string and varchar(n) is variable length character.
3) The basic data type char(n) is a fixed length character string and varchar(n) is variable length character.
4) The basic data type char(n) is a variable length character string and varchar (n) is equal length character.
Correct Answer: The basic data type char(n) is a fixed length character string and varchar(n) is variable length character.
77 - What type of statement is the following?
Insert into instructor values (10211, 'Smith', 'Biology', 66000);
1) Query
2) DML
3) Relational
4) DDL
Correct Answer: DML
78 - Select name
from instructor
where dept name = 'Physics'
order by name;
By default, the order by clause lists items in ______ order.
1) Descending
2) Any
3) Same
4) Ascending
Correct Answer: Ascending
79 - Which one of the following attribute can be taken as a primary key?
1) Name
2) Street
3) Id
4) Department
Correct Answer: Id
80 - A attribute in a relation is a foreign key if which of the following keys from one relation is used as an attribute in that relation?
1) Candidate
2) Primary
3) Super
4) Sub
Correct Answer: Primary
81 - The relation with the attribute which is the primary key is referenced in another relation. The relation which has the attribute as primary key is called
1) Referential relation
2) Referencing relation
3) Referenced relation
4) Referred relation
Correct Answer: Referencing relation
82 - Which of the following does Html code contain?
1) Tags
2) Attributes
3) Elements
4) All options are correct
Correct Answer: All options are correct
83 - A __________ is a program running on the server machine, which accepts requests from a Web browser and sends back results in the form of HTML documents.
1) HTML
2) HTTP
3) Web Server
4) Web browser
Correct Answer: Web Server
84 - Which one is true about clustered index?
1) Clustered index is not associated with table
2) Clustered index is built by default on unique key columns
3) Clustered index is not built on unique key columns
4) None of these
Correct Answer: Clustered index is built by default on unique key columns
85 - What is true about indexes?
1) Indexes enhance the performance even if the table is updated frequently
2) It makes harder for sql server engines to work to work on index which have large keys
3) It doesn't make harder for sql server engines to work to work on index which have large
4) None of these
Correct Answer: It makes harder for sql server engines to work to work on index which have large keys
86 - A _________________ index is the one which satisfies all the columns requested in the query without performing further lookup into the clustered index.
1) Clustered
2) Non Clustered
3) Covering
4) B-Tree
Correct Answer: Covering
87 - The deadlock in a set of transaction can be determined by
1) Read-only graph
2) Wait graph
3) Wait-for graph
4) All options are correct
Correct Answer: Read-only graph
88 - Using the ______ clause retains only one copy of such identical tuples.
1) Null
2) Unique
3) Not null
4) Distinct
Correct Answer: Distinct
89 - Which of the following are steps in query processing?
1) Parsing and translation
2) Optimization
3) Evaluation
4) All options are correct
Correct Answer: All options are correct
90 - A relational algebra operation annotated with instructions on how to evaluate it is called
1) Evaluation algebra
2) Evaluation plan
3) Evaluation primitive
4) Evaluation engine
Correct Answer: Evaluation primitive
91 - Which command is used to remove a directory?
1) rd
2) rmdir
3) dldir
4) rdir
Correct Answer: rmdir
92 - Which of the following keys is used to replace a single character with new text?
1) S
2) s
3) r
4) C
Correct Answer: s
93 - In a FORTRAN program it is been set that x =2.0 , a =2.0 and b = 4.0. What is the value of 'y' if y = a*x+b**2/x?
1) 8
2) 12
3) 16
4) 64
Correct Answer: 12
94 - "What will be the output after compiling the FORTRAN statement:
y = c/d + a*x**2-5"
1) /
2) +
3) *
4) **
Correct Answer: **
95 - Java Compiler translates the source code into?
1) Machine code
2) Assembly code
3) Byte code
4) JVM code
Correct Answer: Byte code
96 -
1) Compilation error
2) Runtime error
3) The value of num is 10
4) None of these
Correct Answer: Compilation error
97 - What is the size of wchar_t in C++?
1) 2
2) 4
3) 2 or 4
4) based on the number of bits in the system
Correct Answer: based on the number of bits in the system
98 - Which of the following is the odd one out?
1) Array type
2) Character type
3) Boolean type
4) Integer type
Correct Answer: Array type
99 - Which data type is used to represent the absence of parameters?
1) int
2) short
3) float
4) void
Correct Answer: void
100 - What does a escape code represent?
1) alert
2) backslash
3) tab
4) form feed
Correct Answer: alert

1 comment: