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?
3. What is the primary purpose of decomposing a reference architecture?
4. Which of the following correctly describes a one-to-many relationship?
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?
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?
8. Capacitance is directly proportional to _________
9. Convert the decimal number 156 to its octal representation.
10. Identify error in the program below;
11. What will be the output in following C++ program.
12. What is the output of the following production rule?
13. Which category of transmission media includes twisted pair cables?
14. Consider the following four processes in the shortest job next scheduling. Calculate the average turnaround time.
Process
Arrival Time
Burst Time
15. What is the correct order of phases in the Waterfall model of software development?
16. Which of the following characteristics is true for an ideal operational amplifier?
17. In supervised learning, what is the main objective during training?
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?
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.
Last updated