Computer Science Engineering (CSE) MCQ

Computer Science Engineering

21- The property of sticking together of data elements within a single module is called

(A) Coupling

(B) Cohesion

(C) Decomposition

(D) Modularity

 

22- Improving processing efficiency or performance or restructuring of software to improve changeability is known as

(A) Corrective maintenance

(B) Perfective maintenance

(C) Adaptive maintenance

(D) Code maintenance

 

23- In mapping of ERD to DFD

(A) relations in ERD has 1 to 1 correspondence to processes in DFD

(B) relationships in ERD has 1 to 1 correspondence to flows in DFD

(C) entities in ERD should correspond to an existing entity/store in DFD

(D) entity in DFD is converted to attributes of an entity in ERD

 

24- Thoma’s-write rule is ______.

(A) Two phase locking protocol

(B) Timestamp ordering protocol

(C) One phase locking protocol

(D) Sliding window protocol

 

25- In computers, subtraction is carried out usually by ___  

(A) BCD subtraction method

(B) Signed magnitude method

(C) 2’s complement method

(D) 1’s complement method

 

26- ___ are those which have the property of a shape that has the same degree of roughness no matter how much it is magnified?

(A) Quadric Surfaces

(B) Turtle Graphics

(C) Fractals

(D) Key frame systems

 

27- The ___ of a process is shared by all the threads spawned by it.

(A) Stack

(B) Registers

(C) Program Counter

(D) Address Space

 

28- Randomized quick sort effectively solved by

(A) Dynamic Programming

(B) Greedy Approach

(C) Monte Carlo Algorithm

(D) Las Vegas Algorithm

 

29- Which one of the following is not a software size measure?

(A) Program length

(B) Cyclomatic Complexity

(C) FP

(D) LOC

 

30- Which of the following methods of hacking records all your keystrokes?

(A) Keyboard monitoring

(B) Keylogging

(C) Keyjacking

(D) Keyhijacking

 

ANSWERS:

21-(B), 22-(B), 23-(C), 24-(B), 25-(C), 26-(B), 27-(A), 28-(A), 29-(B), 30-(C)