Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 80 pages
Exam (elaborations)

AQA AS COMPUTER SCIENCE PAPER 1 – PROGRAMMING FUNDAMENTALS & THEORY (7516/1) FINAL EXAM QUESTIONS WITH DETAILED- VERIFIED ANSWERS- ALREADY GRADED A+ || NEWEST EXAM

Document preview thumbnail
Preview 4 out of 80 pages

AQA AS COMPUTER SCIENCE PAPER 1 – PROGRAMMING FUNDAMENTALS & THEORY (7516/1) FINAL EXAM QUESTIONS WITH DETAILED- VERIFIED ANSWERS- ALREADY GRADED A+ || NEWEST EXAM Programming, Data Structures This comprehensive practice exam for AQA AS Computer Science 7516/1 covers: binary/hex/octal conversions, two’s complement, bitwise operations, ASCII/Unicode, hardware (CPU, memory, fetch‑execute cycle), programming constructs (loops, selection, functions), data structures (arrays, stacks, queues, linked lists), sorting/searching (bubble, merge, binary, linear), OOP basics, SQL, networking (TCP/IP, DNS, HTTP), finite state machines, regular expressions, and software testing. It also covers covering fundamentals of programming, data structures, algorithms, data representation, computer hardware, networking, databases, and the theory of computation

Content preview

Page 1 of 80


AQA AS COMPUTER SCIENCE PAPER 1 – PROGRAMMING
FUNDAMENTALS & THEORY (7516/1) FINAL EXAM QUESTIONS WITH
DETAILED- VERIFIED ANSWERS- ALREADY GRADED A+ || NEWEST
EXAM 2025-2026


Programming, Data Structures


This comprehensive practice exam for AQA AS Computer Science 7516/1
covers: binary/hex/octal conversions, two’s complement, bitwise
operations, ASCII/Unicode, hardware (CPU, memory, fetch‑execute
cycle), programming constructs (loops, selection, functions), data
structures (arrays, stacks, queues, linked lists), sorting/searching
(bubble, merge, binary, linear), OOP basics, SQL, networking (TCP/IP,
DNS, HTTP), finite state machines, regular expressions, and software
testing. It also covers covering fundamentals of programming, data
structures, algorithms, data representation, computer hardware,
networking, databases, and the theory of computation
Questions 1–200
1. What is the decimal value of the binary number 101101?
A) 45 ✓
B) 43
C) 47
D) 41
*Rationale: Binary 101101 equals 1×32 + 0×16 + 1×8 + 1×4 + 0×2 + 1×1 =
32+8+4+1 = 45. Converting binary to decimal requires summing powers
of two where bits are 1.*

, Page 2 of 80




2. Which of the following is a valid identifier in most programming
languages?
A) 2fast
B) my-variable
C) _score ✓
D) int
Rationale: Identifiers cannot start with a digit, so 2fast is invalid.
Hyphens are not allowed; underscores are permitted. int is a reserved
keyword.


3. What is the result of (5 > 3) AND (4 < 2) in Boolean logic?
A) True
B) False ✓
C) 5
D) Error
Rationale: (5 > 3) is true, (4 < 2) is false. The AND operator returns true
only if both operands are true, therefore the expression evaluates to
false.


4. Which data structure follows the Last‑In‑First‑Out (LIFO) principle?
A) Queue
B) Stack ✓

, Page 3 of 80


C) Array
D) List
Rationale: A stack uses LIFO: the most recently added item is removed
first. Queues use FIFO, while arrays and lists allow access by index.


5. What does the hexadecimal digit F represent in decimal?
A) 10
B) 12
C) 15 ✓
D) 16
*Rationale: Hexadecimal uses digits 0‑9 and letters A=10, B=11, C=12,
D=13, E=14, F=15. Thus F equals decimal 15.*


6. Which of the following is a high‑level programming language?
A) Assembly language
B) Python ✓
C) Machine code
D) C++ – also high‑level but the question expects one – Python is a
typical example.
Rationale: Python is a high‑level language because it abstracts away
hardware details and uses human‑readable syntax. Assembly and
machine code are low‑level.

, Page 4 of 80


7. A program has a syntax error. What does this mean?
A) The program runs but gives wrong output
B) The program violates the language’s grammatical rules ✓
C) The program crashes due to invalid input
D) The program uses too much memory
Rationale: Syntax errors occur when code does not follow the language’s
grammar, such as missing parentheses. These errors are caught by the
compiler or interpreter before execution.


8. Which logic gate produces an output of 1 only when both inputs are 1?
A) OR
B) NOR
C) AND ✓
D) XOR
Rationale: The AND gate outputs 1 only when all inputs are 1. OR outputs
1 if any input is 1; XOR outputs 1 when inputs differ.


9. What is the purpose of the return statement in a function?
A) To print a value to the screen
B) To exit the function and optionally send a value back to the caller ✓
C) To restart the function
D) To declare a variable

Document information

Uploaded on
June 16, 2026
Number of pages
80
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$24.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
122
Last sold
-



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions