Computer Science Flashcards
6 cards from real EMSAT practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 6 Computer Science flashcards as text
In EmSAT Computer Science, what is the binary representation of the decimal number 13?
Answer: 1101
13 in binary: 13 ÷ 2 = 6 remainder 1, 6 ÷ 2 = 3 remainder 0, 3 ÷ 2 = 1 remainder 1, 1 ÷ 2 = 0 remainder 1. Reading remainders bottom to top: 1101.
What is the output of the following pseudocode: x = 5; y = 3; PRINT x + y * 2?
Answer: 11
Following order of operations (multiplication before addition): y * 2 = 6, then x + 6 = 5 + 6 = 11.
Which data structure operates on a Last-In, First-Out (LIFO) principle?
Answer: Stack
A stack follows LIFO: the last element added (pushed) is the first element removed (popped), like a stack of plates.
What is the purpose of a loop in programming?
Answer: To repeat a block of code multiple times
Loops (for, while, do-while) allow a block of code to execute repeatedly until a specified condition is met, reducing code repetition.
What is an algorithm?
Answer: A step-by-step procedure for solving a problem or completing a task
An algorithm is a finite, well-defined sequence of steps or instructions designed to solve a specific problem or perform a computation.
Which sorting algorithm has the best average-case time complexity?
Answer: Merge Sort - O(n log n)
Merge Sort has an average-case time complexity of O(n log n), which is better than the O(n²) complexity of Bubble, Selection, and Insertion Sort.
How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- emsat.moe.gov.ae — Test delivery, eligibility, time limit, retake fee, retake policy, score release, exam format, exam information · verified Oct 2026
- mohesr.gov.ae — Eligibility · verified Oct 2026