0% found this document useful (0 votes)
32 views6 pages

SAT Computer Science Test

The document outlines a 30-question SAT-style computer science test focused on logic, programming, algorithms, math for computer science, and computational thinking. Each question requires the test-taker to choose the best answer from options A to E, covering various topics such as data structures, algorithms, and programming concepts. An answer key is provided at the end for reference.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views6 pages

SAT Computer Science Test

The document outlines a 30-question SAT-style computer science test focused on logic, programming, algorithms, math for computer science, and computational thinking. Each question requires the test-taker to choose the best answer from options A to E, covering various topics such as data structures, algorithms, and programming concepts. An answer key is provided at the end for reference.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

SAT-Style Computer Science Test

(Canada/US Level)
Instructions:
- Total Questions: 30
- Choose the best answer (A–E)
- Focus Areas: Logic, Programming, Algorithms, Math for CS, and Computational Thinking

1. What is the output of the following pseudo-code?


x=3
y=5
print(x + y * 2)
A. 16
B. 13
C. 11
D. 10
E. 8

2. Which data structure uses FIFO (First In First Out)?


A. Stack
B. Queue
C. Tree
D. Graph
E. Heap

3. Binary number 1010 in decimal is:


A. 8
B. 9
C. 10
D. 11
E. 12

4. Which of the following is NOT a programming language?


A. Python
B. Java
C. HTML
D. C++
E. JavaScript
5. If a loop runs from i = 1 to 5, how many times does it execute?
A. 4
B. 5
C. 6
D. 3
E. 1

6. What is the time complexity of binary search?


A. O(n)
B. O(n²)
C. O(log n)
D. O(1)
E. O(n log n)

7. If an algorithm takes 2^n steps, what type of complexity is it?


A. Linear
B. Quadratic
C. Exponential
D. Logarithmic
E. Constant

8. Convert hexadecimal A to decimal:


A. 8
B. 9
C. 10
D. 11
E. 12

9. A computer primarily stores data in:


A. Decimal
B. Binary
C. Roman Numerals
D. Fractions
E. Symbols

10. What is 2^5?


A. 16
B. 24
C. 32
D. 64
E. 128

11. Which operator is used for comparison in most programming languages?


A. =
B. ==
C. +=
D. &&
E. ||

12. What does CPU stand for?


A. Central Process Unit
B. Computer Processing Unit
C. Central Processing Unit
D. Control Processing Unit
E. Core Processing Unit

13. Which sorting algorithm is generally the fastest on average?


A. Bubble Sort
B. Selection Sort
C. Insertion Sort
D. Quick Sort
E. Linear Sort

14. What is the base of the binary number system?


A. 2
B. 8
C. 10
D. 16
E. 1

15. Which of the following is a Boolean value?


A. 1
B. Yes
C. True
D. Maybe
E. 10

16. What will be the output?


print(len('COMPUTER'))
A. 6
B. 7
C. 8
D. 9
E. 10

17. Which data structure uses LIFO (Last In First Out)?


A. Queue
B. Stack
C. Array
D. Tree
E. Graph

18. RAM is an example of:


A. Permanent Storage
B. Secondary Memory
C. Primary Memory
D. External Memory
E. Cloud Storage

19. Which of these is an example of an input device?


A. Monitor
B. Printer
C. Keyboard
D. Speaker
E. Projector

20. In programming, a variable is used to:


A. Store data
B. Delete files
C. Run hardware
D. Design graphics
E. Print documents

21. What is the output of 10 % 3?


A. 1
B. 2
C. 3
D. 0
E. 10

22. Which language is commonly used for web development?


A. Python
B. HTML
C. C
D. Assembly
E. SQL

23. What is an algorithm?


A. A hardware device
B. A step-by-step procedure to solve a problem
C. A programming language
D. A database
E. A network
24. Which of the following represents artificial intelligence?
A. Calculator
B. Chatbot
C. Keyboard
D. Mouse
E. USB

25. What does IDE stand for?


A. Integrated Development Environment
B. Internal Data Engine
C. Internet Development Engine
D. Integrated Design Editor
E. Intelligent Data Environment

26. Which number system uses digits 0–7?


A. Binary
B. Decimal
C. Octal
D. Hexadecimal
E. Roman

27. A flowchart is mainly used to:


A. Play games
B. Draw images
C. Visualize algorithm steps
D. Store data
E. Browse internet

28. What is the main function of an operating system?


A. Compile code
B. Manage hardware and software resources
C. Design websites
D. Create databases
E. Edit videos

29. Which of the following is a loop structure?


A. if
B. else
C. for
D. print
E. input

30. What does URL stand for?


A. Uniform Resource Locator
B. Universal Resource Link
C. Unified Resource Locator
D. Uniform Reference Link
E. Universal Reference Locator

Answer Key

1. B
2. B
3. C
4. C
5. B
6. C
7. C
8. C
9. B
10. C
11. B
12. C
13. D
14. A
15. C
16. C
17. B
18. C
19. C
20. A
21. A
22. B
23. B
24. B
25. A
26. C
27. C
28. B
29. C
30. A

You might also like