Exam: NIC
Topic: Miscellaneous
Each Question carries 1 Mark
Negative Marking: 1/4
Time: 10 Minutes
Q1. A file is preferable to an array of structures because
- memory space will not be wasted
- file lives even after the program that is created terminates
- there are many system tools to manipulate files.
- All of the above
L1 Difficulty 3
QTags Data Structure
QCreator Vikram Kumar
Q2. Which of the following traversal techniques lists the nodes of a binary search tree in ascending order?
- In-order
- Post-order
- Pre-order
- None of these
L1 Difficulty 2
QTags Computer
QCreator Vikram Kumar
Q3. Which of the following is generally a benefit of normalization?
- Insertion anomalies are avoided
- Selection anomalies are avoided
- Number of tables are reduced
- Performance is improved
L1 Difficulty 3
QTags DBMS
QCreator Vikram Kumar
Q4. Time sharing provides
- Disk management
- Concurrent execution
- File system management
- All of the above
L1 Difficulty 3
QTags Operating System
QCreator Vikram Kumar
Q5. Match COLUMN-I with COLUMN-II and select the correct answer using the options given below:
COLUMNN-1 COLUMNN-II
- 2421 1.Reflecting code
- 8421 2. Non-weighted code
- Gray Code 3. Sequential code
Options:
A B C
- 3 1 2
- 1 3 2
- 1 2 3
- 3 2 1
L1 Difficulty 3
QTags Digital Electronics
QCreator Vikram Kumar
Q6. An instruction cycle refers to
- Fetching an instruction
- Clock speed
- Executing an instruction
- Fetching, decoding and executing an instruction
L1 Difficulty 2
QTags Computer Organization & Microprocessor
QCreator Vikram Kumar
Q7. Pick the machine independent phase(s) of the compiler
- intermediate code generation
- Syntax analysis
- Lexical analysis
- All of the above
L1 Difficulty 4
QTags Compiler Design
QCreator Vikram Kumar
Q8. Communication via circuit switching involves three phases which are
- Circuit establishment, data compression, circuit disconnect
- Circuit establishment, data transfer, circuit disconnect
- Data transfer, data compression, circuit disconnect
- Circuit establishment, data compression.
L1 Difficulty 3
QTags Networking
QCreator Vikram Kumar
Q9. The development is supposed to proceed linearly through the phase in
- Spiral model
- Waterfall model
- Prototyping model
- None of the above
L1 Difficulty 3
QTags Software Engineering
QCreator Vikram Kumar
Q10. A PAM signal can be detected by using
- an integrator
- an ADC
- a band pass filter
- a high pass filter
L1 Difficulty 4
QTags Communication Engineering
QCreator Vikram Kumar
SOLUTIONS
S1. Ans(d)
Sol: Array is used during programming. It runs till the program runs and stops when program terminates. But file lives even after program is terminated. We can bring changes in file with the help of different system tools.
S2. Ans(a)
Sol: In order traversal of binary search tree list the nodes in ascending order.
S3. Ans.(d)
Sol: Normalization is an advantageous prospect in DBMS because
- A smaller database can be maintained as normalization eliminates the duplicate data.
- Better performance is ensured. As databases become lesser in size, the passes through the data becomes faster and shorter thereby improving response time and speed.
- Narrower tables are possible
- Fewer indexes per table ensures faster maintenance tasks
S4. Ans.(b)
Sol:
Time-sharing is a technique in which many people located at various terminals uses a particular computer system at the same time. Processor’s time is shared among multiple users at the same instant in time-sharing.
Advantages :−
- quick response.
- prevents duplication of software.
- reduces CPU idle time.
Disadvantages : −
- less reliable.
- less secure.
- affects integrity of user program and data
- issues related to data communication.
S5. Ans.(b)
Sol:
- A code is reflective if code for one element is complement for the code for another element. Ex- 2421,5211, XS3. 8421 is not reflective.
- A code is sequential if two subsequent codes, seen as numbers in binary representation, differ by one. Ex- 8421, Excess-3 but 5211 and 2421 are not.
- Non weighted codes are not positionally weighted. Ex- Gray code.
S6. Ans.(d)
Sol: An Instruction Cycle is the basic process of a computer. It is the process by which a computer retrieves a program instruction from its memory, determines what actions the instruction is asking to take and carries out those actions. It is also known as fetch decode-execute cycle.
S7. Ans.(d)
Sol: Machine independent phases of compiler are
- Lexical analysis
- Syntax analysis
- Intermediate code generation
S8. Ans.(b)
Sol: The three phases of Circuit Switching involves:-
- connection establishment
- data transfer and
- circuit disconnect
S9. (b)
S10. Ans.(a)
Sol: An integrator helps in detecting a PAM signal. It can also be detected by a Low Pass Filter.