Long Questions (20*2=40 Marks)
1. Which of the following expressions represents the logical AND operation followed by the logical OR operation in sequence?
2. Which of the following terms best describes a problem for which there exists an algorithm that always halts with a correct yes/no answer?
Turing Decidable
Recursive
Turing Undecidable
Recursive Enumerable
3. What is the primary purpose of decomposing a reference architecture?
To increase the overall system's complexity
To simplify the design and implementation process by breaking it into manageable components
To eliminate the need for standardization
To reduce the number of components in the system
4. Which of the following correctly describes a one-to-many relationship?
One department can have multiple employees.
One student can enroll in multiple courses, and each course can have multiple students.
Each order can be linked to multiple customers.
Each customer can place multiple orders.
5: Given the vector and the scaling vector , what is the result of scaling the original vector by the scaling vector?
6: In a genetic algorithm used to generate class routines, if the fitness function is defined as , what does this fitness function measure?
The total number of classes in the schedule
The number of conflicts in the schedule
The total duration of the class schedule
The number of students enrolled in the classes
7. In the demand paging memory, a page table is held in registers. If it takes 1000ms to service a page fault and if the memory access time is 20ms, what is the effective access time for a page fault rate of 0.01?
30.8ms
40ms
22ms
29.8ms
8. Capacitance is directly proportional to _________
Area of cross section between the plates
Distance of separation between the plates
Both area and distance
Neither area nor distance
9. Convert the decimal number 156 to its octal representation.
254
20
1234
234
10. Identify error in the program below;
Syntax Error
Runtime Error
Logical Error
Linker Error
11. What will be the output in following C++ program.
10 13
8 8
10 10
8 10
12. What is the output of the following production rule?
Production Rules:
abba
aabb
bbaa
baab
13. Which category of transmission media includes twisted pair cables?
Guided Media
Coaxial Cables
Fiber Optic Cables
Unguided Media
14. Consider the following four processes in the shortest job next scheduling. Calculate the average turnaround time.
Processes:
P1
0
8
P2
1
4
P3
2
2
P4
3
6
10
11.5
12
13
15. What is the correct order of phases in the Waterfall model of software development?
Requirement Analysis → System Design → Implementation → Integration and Testing → Deployment → Maintenance
Requirement Analysis → Implementation → System Design → Integration and Testing → Deployment → Maintenance
Implementation → System Design → Requirement Analysis → Integration and Testing → Deployment → Maintenance
System Design → Requirement Analysis → Implementation → Integration and Testing → Maintenance → Deployment
16. Which of the following characteristics is true for an ideal operational amplifier?
The ideal op-amp has a finite open-loop gain, resulting in a non-zero voltage difference between the inverting and non-inverting inputs.
The ideal op-amp has infinite input impedance and zero output impedance.
The ideal op-amp can only be used in linear configurations and cannot be used in switching applications.
The ideal op-amp has a non-zero input bias current, which affects the accuracy of the amplifier.
17. In supervised learning, what is the main objective during training?
To group similar data points
To predict outputs without labeled data
To learn the mapping from inputs to outputs using labeled data
To find hidden patterns without predefined labels
18. In a full binary tree, if the number of internal nodes is ( I ), then the number of leaves ( L ) is?
19. A process refers to 5 pages (A, B, C, D, E) in the order: A, B, C, D, A, B, E, A, B, C, D, E. If the page replacement algorithm is FIFO, and the number of page frames is increased to 4, what happens to the number of page transfers?
Decreases
Increases
Remains the same
None of the mentioned
20. You plan to invest $1,000 in a savings account that offers an annual interest rate of 5%, compounded quarterly. You want to know the future value of this investment after 3 years.
$1130
$1227.5
$1500
$2000
Last updated