B CompE Bachelor of Computer Engineering Cheat Sheet 2026

The 30 highest-yield B CompE Bachelor of Computer Engineering facts, distilled from real exam questions. Print it, save it as a PDF, or study it here โ€” free, no sign-up.

100 questions
120 min time limit
70.00% to pass
  1. What is the output of calling a virtual method through a base class pointer pointing to a derived object in C++? โ†’ Derived class version is called
  2. Which layer of the OSI model is responsible for end-to-end communication and error recovery? โ†’ Transport Layer
  3. Which RAID level mirrors data across two disks, providing fault tolerance but halving usable capacity? โ†’ RAID 1
  4. In a full adder, how many inputs does it have? โ†’ 3
  5. What is the IPv6 equivalent of an IPv4 broadcast address? โ†’ IPv6 does not support broadcast
  6. Which data structure allows efficient insertion and deletion at both ends in O(1) time? โ†’ Deque (double-ended queue)
  7. According to the Nyquist sampling theorem, a band-limited signal with maximum frequency f_max must be sampled at a minimum rate of: โ†’ 2 ร— f_max
  8. When a parent process terminates, all child processes also end, which is known as cascading termination. โ†’ Normally or abnormally
  9. In Java, what happens if a subclass does not override an abstract method from its abstract parent? โ†’ The subclass must also be declared abstract
  10. Which cache write policy writes data to both the cache and main memory simultaneously on every write hit? โ†’ Write-through
  11. In virtual memory systems, what structure maps virtual page numbers to physical frame numbers? โ†’ Page table
  12. How long does it take to insert at the end of a dynamic array? โ†’ Either O(1) or O(n)
  13. How many words can an 8-bit CPU process? โ†’ 8-bits โ€“ 64 bits
  14. Speculative execution combined with a mispredicted branch requires the processor to: โ†’ Flush the pipeline and restart from the correct path
  15. Which type of network topology connects every node directly to every other node? โ†’ Mesh
  16. Regarding polymorphism, which of the following is false? โ†’ Increases overhead of function definition always
  17. What is 'thrashing' in virtual memory management? โ†’ High CPU utilization with no useful work due to constant page faults
  18. What is the output of: `int x = 10; printf("%d", x++);`? โ†’ 10
  19. What kind of computer architecture is the following? โ†’ All of the above
  20. Which Boolean expression represents De Morgan's first theorem? โ†’ (AยทB)' = A'+B'
  21. Which function is used to release memory allocated by `malloc`? โ†’ free
  22. In C, what is undefined behavior? โ†’ Code whose behavior is not specified by the C standard and may produce any result
  23. What is the purpose of a database view? โ†’ Provide a virtual table based on the result of a stored query
  24. What exactly is an operating system? โ†’ All of the above
  25. In the Banker's Algorithm for deadlock avoidance, what does the 'safe state' guarantee? โ†’ There exists a sequence in which every process can obtain its maximum resources and finish
  26. The processor is considered to have _____ if an exception is thrown and the subsequent instructions are fully executed. โ†’ Imprecise exceptions
  27. Which of the following is not an operating system that runs in real time? โ†’ Palm OS
  28. Register renaming in out-of-order processors primarily eliminates which type of hazard? โ†’ WAR and WAW (false) hazards
  29. What is the primary benefit of using interfaces to program against rather than concrete classes? โ†’ It enables coding to a contract, reducing coupling to specific implementations
  30. Which programming language was the first to focus solely on objects? โ†’ SmallTalk
Was this helpful?