Advanced level 2026 Holy Infant High School mock Computer science 1

Advanced level 2026 Holy Infant High School mock Computer science 1

Advanced level 2026 Holy Infant High School mock Computer science 1

I have extracted the text from your newly uploaded image, which appears to be a section of a Computer Science or Information Technology examination.


COMPUTER SCIENCE / IT EXAMINATION SECTION

1. A logic circuit has three inputs (A, B, C). The output is 1 only when exactly two of the inputs are 1. Identify the Boolean expression for this circuit.

  • A. $(A + B + C)’$

  • B. $ABC$

  • C. $ABC’ + AB’C + A’BC$

  • D. $A + B + C$

2. Evaluate the state of a stack after the following sequence of operations: Push(X), Push(Y), Pop(), Push(Z), Push(W), Pop(). Provide the items from bottom to top.

  • A. $X, Z$

  • B. $Z, X$

  • C. $W, Z$

  • D. $X, Y, Z, W$

3. A university database is being designed. The following ER Diagram represents the “Teaching” module:

(Image description: An Entity-Relationship diagram showing a ‘Lecturer’ entity with attributes LecturerName, Address, DOB, and NIC. It has a 1-to-M relationship ‘Teaches’ with a ‘Course’ entity, which has attributes CourseName, CourseId, and Hours.)

  • (i) $Lecturer(NIC, LecturerName, DOB, Address)$

  • (ii) $Lecturer(NIC, LecturerName, DOB, Address, CourseId)$

  • (iii) $Teaches(NIC, CourseId, Hours)$

  • (iv) $Course(CourseId, CourseName, Hours, NIC)$

Which of the following sets relations represents the most efficient, normalized mapping?

  • A. (i) and (ii) only

  • B. (i), (iii) and (iv) only

  • C. (i) and (iv) only

  • D. (ii) and (iv) only

4. Which of the following best protects the intellectual property of a device created by inventors?

  • A. Copyright

  • B. Trademarks

  • C. Registered designs

  • D. Patents

5. The network component responsible for forwarding network packets within a local area network (LAN) is a:

  • A. Modem.

  • B. server.

  • C. Firewall.

  • D. Switch.

6. The diagram below is a simple Local Area Network (LAN).

(Image description: A network diagram showing Desktop computers connected to Device A. Device A is connected to a Personal computer and Device B. Device B is connected to a Printer and Device C. Device C is connected to the Internet.)

Which of the following correctly identifies Devices A, B and C?

  • A. Device A: Router, Device B: Switch, Device C: Firewall

  • B. Device A: Switch, Device B: Server, Device C: Router

  • C. Device A: Router, Device B: Firewall, Device C: Switc

  • D. Device A: Switch, Device B: Router, Device C: Server

7. A development team chooses the ‘Waterfall’ model for a mission-critical medical software. Identify a major risk associated with this choice.

  • A. The cost of the project is impossible to estimate at the start

  • B. It requires the use of open-source libraries only

  • C. The software will be produced too quickly for thorough testing

  • D. Requirements cannot be easily changed once the development phase has begun

8. Consider three processes arriving at time 0 with burst times of 10, 5, and 8. Using Shortest Remaining Time First (SRTF), if P4 arrives at time 2 with a burst of 2, which process runs at time 3?

  • A. P1

  • B. P2

  • C. P4

  • D. P3

9. In C programming, consider the declaration:

C

int *ptr;
int val = 10;
ptr = &val;

Evaluate the effect of executing *ptr = 20;

  • A. A new variable is created with the value 20

  • B. The variable val is updated to 20

  • C. The pointer address is changed to 20

  • D. A syntax error occurs


Would you like me to provide the correct answers and explanations for these questions, or perhaps convert this into a digital quiz format for your students?

PDF is loading please wait...


Leave a comment

Your email address will not be published. Required fields are marked *

JOIN OUR WHATSAPP GROUP! / REJOIGNEZ NOTRE GROUPE WHATSAPP!
sponsors Ads