🇵🇰 ETEA Engineering Test · subject
ETEA Engineering Test Computer Science Syllabus
The Computer Science syllabus for ETEA Engineering Test in full: 4 chapters and 11 topics, every one listed below, plus 52 Computer Science flashcards with answers.
Computer Science syllabus: all 4 chapters
Expand any chapter to see its topics and sub-topics.
-
Fundamentals of Computers
3 topics- Computer Components and Hardware
- Software and Operating Systems
- Number Systems
-
Data Communication and Networks
3 topics- Transmission Media and Modes
- Network Topologies
- Internet and Protocols
-
Data and Information Management
2 topics- Data Representation and Storage
- Database Concepts
-
Programming Fundamentals
3 topics- Algorithms and Flowcharts
- Programming Constructs
- Introduction to C Programming
ETEA Engineering Test Computer Science flashcards — 52 questions with answers
What is computer hardware? Give two examples.
Hardware is the set of physical, tangible components of a computer that you can touch. Examples: CPU, monitor, keyboard, hard disk, RAM.
Name the three main units of the Central Processing Unit (CPU) and their functions.
(1) Control Unit (CU) - directs/coordinates operations and fetches instructions; (2) Arithmetic Logic Unit (ALU) - performs arithmetic and logical operations; (3) Registers - small high-speed storage holding data being processed.
Differentiate between an input device and an output device, with one example each.
An input device feeds data into the computer (e.g., keyboard, mouse, scanner). An output device delivers processed results to the user (e.g., monitor, printer, speaker).
What is the difference between RAM and ROM?
RAM (Random Access Memory) is volatile read/write memory that loses data when power is off; it stores data currently in use. ROM (Read Only Memory) is non-volatile, retains contents without power, and stores permanent instructions like the BIOS/boot firmware.
Classify computer memory into primary and secondary, with examples.
Primary (main) memory is directly accessed by the CPU and is fast but usually volatile: RAM, ROM, cache. Secondary (auxiliary) memory is non-volatile permanent storage: hard disk, SSD, USB flash drive, CD/DVD.
What is cache memory and why is it used?
Cache is very fast, small memory placed between the CPU and main memory (RAM). It stores frequently used data/instructions to reduce CPU access time and speed up processing.
What is the difference between system software and application software?
System software manages and runs the computer hardware and provides a platform (e.g., operating system, device drivers, utilities). Application software performs specific user tasks (e.g., MS Word, browsers, games).
What is an Operating System? List two of its main functions.
An Operating System is system software that manages hardware and software resources and acts as an interface between the user and the computer. Functions: process/CPU management, memory management, file management, device management, providing a user interface.
Name four examples of operating systems.
Windows, Linux, macOS, Unix, Android, iOS.
What is the difference between a compiler and an interpreter?
A compiler translates the entire high-level program into machine code at once, producing an executable, and reports all errors together. An interpreter translates and executes the program line by line, stopping at the first error. Compilers are generally faster at execution; interpreters are easier for debugging.
What is the difference between high-level and low-level programming languages?
High-level languages are human-readable, machine-independent, and need translation (e.g., C, Python, Java). Low-level languages are machine-oriented and hardware-dependent (machine language in binary, and assembly language using mnemonics).
Define a number system and state its base (radix).
A number system is a way of representing numbers using a fixed set of digits/symbols. The base (radix) is the number of distinct digits used, e.g., base $10$ for decimal, base $2$ for binary.
State the base and valid digits of the binary, octal, decimal, and hexadecimal systems.
Binary: base $2$, digits $0,1$. Octal: base $8$, digits $0$–$7$. Decimal: base $10$, digits $0$–$9$. Hexadecimal: base $16$, digits $0$–$9$ and $A$–$F$.
In hexadecimal, what decimal values do the letters A, B, C, D, E, F represent?
$A=10,\; B=11,\; C=12,\; D=13,\; E=14,\; F=15$.
Convert the binary number $1011_2$ to decimal.
$1\times2^{3}+0\times2^{2}+1\times2^{1}+1\times2^{0}=8+0+2+1=11_{10}$.
Convert the decimal number $25_{10}$ to binary.
Repeated division by 2 gives remainders $1,0,0,1,1$ read bottom-up: $25_{10}=11001_2$.
Convert the binary number $110101_2$ to octal.
Group in 3s from right: $110\,101 \to 6\,5$, so $110101_2=65_8$.
Convert the binary number $11011110_2$ to hexadecimal.
Group in 4s from right: $1101\,1110 \to D\,E$, so $11011110_2=DE_{16}$.
Convert the hexadecimal number $2F_{16}$ to decimal.
$2\times16^{1}+15\times16^{0}=32+15=47_{10}$.
Convert the octal number $57_8$ to decimal.
$5\times8^{1}+7\times8^{0}=40+7=47_{10}$.
Show the other 32 Computer Science flashcards
What is the quick method to convert between binary and hexadecimal?
Each hexadecimal digit equals exactly 4 binary bits. To convert, group binary digits in sets of 4 (from the right) and replace each group with its hex digit, or expand each hex digit into 4 bits.
How many bits make one byte, and what is a byte typically used to store?
$1$ byte $=8$ bits. A byte typically stores one character (e.g., a letter, digit, or symbol).
List the storage units in increasing order from bit to terabyte with their relationships.
$8\text{ bits}=1\text{ byte}$; $1024\text{ bytes}=1\text{ KB}$; $1024\text{ KB}=1\text{ MB}$; $1024\text{ MB}=1\text{ GB}$; $1024\text{ GB}=1\text{ TB}$ (using $1024=2^{10}$).
What is ASCII and how many characters can standard ASCII represent?
ASCII (American Standard Code for Information Interchange) is a character-encoding standard. Standard 7-bit ASCII represents $2^{7}=128$ characters; extended 8-bit ASCII represents $256$ characters.
Differentiate between guided (wired) and unguided (wireless) transmission media, with examples.
Guided media transmit signals through a physical cable/path: twisted-pair, coaxial cable, optical fibre. Unguided media transmit signals through air/space without a physical conductor: radio waves, microwaves, infrared, satellite.
Why is optical fibre faster and more reliable than copper cable?
Optical fibre transmits data as pulses of light through glass/plastic, giving very high bandwidth and speed, low signal attenuation over long distances, and immunity to electromagnetic interference (unlike copper which carries electrical signals).
Compare the three data transmission modes: simplex, half-duplex, and full-duplex.
Simplex: data flows in one direction only (e.g., keyboard to CPU, TV broadcast). Half-duplex: data flows both ways but only one direction at a time (e.g., walkie-talkie). Full-duplex: data flows in both directions simultaneously (e.g., telephone call).
Define network topology and name the common types.
Network topology is the physical or logical arrangement/layout of devices (nodes) in a network. Common types: bus, star, ring, mesh, tree, and hybrid.
Describe the star topology and one advantage and one disadvantage.
In a star topology all nodes connect to a central device (hub/switch). Advantage: failure of one cable/node does not affect others; easy to manage. Disadvantage: if the central hub fails, the entire network goes down.
Describe the bus topology and a major disadvantage.
In a bus topology all devices share a single common backbone cable. Disadvantage: a fault or break in the main cable brings down the whole network, and performance drops as more nodes are added.
In a mesh topology with $n$ nodes, how many cables (links) are needed for full connection?
Number of links $=\dfrac{n(n-1)}{2}$, since every node connects directly to every other node.
What is the difference between LAN, MAN, and WAN?
LAN (Local Area Network) covers a small area like a building/office. MAN (Metropolitan Area Network) covers a city. WAN (Wide Area Network) covers very large areas such as countries or the globe; the Internet is the largest WAN.
What is the Internet?
The Internet is a global network of interconnected computer networks that communicate using standard protocols (TCP/IP) to share information and resources worldwide.
What does the protocol TCP/IP stand for and what is its role?
TCP/IP stands for Transmission Control Protocol / Internet Protocol. It is the fundamental suite of protocols that governs how data is broken into packets, addressed, transmitted, routed, and reassembled across the Internet.
What is the difference between HTTP and HTTPS?
HTTP (HyperText Transfer Protocol) transfers web pages between server and browser in plain text. HTTPS is the secure version that encrypts data using SSL/TLS, protecting it from interception.
State the purpose of the protocols FTP, SMTP, and IP.
FTP (File Transfer Protocol) transfers files between computers. SMTP (Simple Mail Transfer Protocol) sends email. IP (Internet Protocol) provides addressing and routing of data packets between hosts.
What is an IP address?
An IP address is a unique numerical label assigned to each device on a network, used to identify and locate it for communication. IPv4 uses a 32-bit address written as four numbers (e.g., $192.168.0.1$).
What is a database and a DBMS?
A database is an organized collection of related data stored for easy access, management, and updating. A DBMS (Database Management System) is software used to create, store, manage, and retrieve data in a database (e.g., MySQL, Oracle, MS Access).
Define the terms field, record, and table in a database.
A field (column) is a single attribute/category of data (e.g., Name). A record (row) is a complete set of related fields describing one entity (e.g., one student). A table is a collection of related records organized in rows and columns.
What is a primary key in a database?
A primary key is a field (or set of fields) that uniquely identifies each record in a table. It must be unique and cannot be null (empty).
What is an algorithm?
An algorithm is a finite, step-by-step set of well-defined instructions to solve a particular problem or perform a task, with a clear beginning and end.
What is a flowchart and what do the oval, rectangle, parallelogram, and diamond symbols represent?
A flowchart is a diagrammatic (graphical) representation of an algorithm. Oval = Start/Stop (terminal); Rectangle = process/calculation; Parallelogram = input/output; Diamond = decision/condition.
What are the three basic control (programming) constructs?
(1) Sequence - statements executed in order; (2) Selection (decision/branching) - choosing a path using if/else or switch; (3) Iteration (looping/repetition) - repeating statements using loops.
What is the difference between selection and iteration constructs?
Selection chooses between alternative paths based on a condition (executed once per decision), e.g., if-else. Iteration repeats a block of statements multiple times while/until a condition holds, e.g., for, while loops.
What is the key difference between a while loop and a do-while loop in C?
A while loop is entry-controlled: it checks the condition before executing the body, so the body may run zero times. A do-while loop is exit-controlled: it executes the body first then checks the condition, so the body always runs at least once.
Write the general syntax of a for loop in C and name its three parts.
$\texttt{for(initialization; condition; update) \{ statements \}}$. The three parts are: initialization (set start value), condition (tested before each iteration), and update (increment/decrement).
What is the difference between the if-else statement and the switch statement in C?
if-else evaluates Boolean conditions/ranges and can handle any relational logic. switch selects among multiple cases by matching a single variable against constant values; it is cleaner for many equality comparisons but cannot test ranges directly.
What is a function in programming and what are its advantages?
A function is a named, self-contained block of code that performs a specific task and can be called whenever needed. Advantages: code reusability, modularity, easier debugging, and reduced program length.
In C, distinguish between a function's arguments (parameters) and its return value.
Arguments/parameters are the input values passed into a function for it to process. The return value is the single result the function sends back to the caller using the $\texttt{return}$ statement.
What is the role of the main() function in a C program?
$\texttt{main()}$ is the entry point of every C program; program execution always begins from $\texttt{main()}$. It typically returns an integer (e.g., $\texttt{return 0;}$) indicating successful execution.
Name the basic data types in C and what each stores.
$\texttt{int}$ stores whole numbers; $\texttt{float}$ and $\texttt{double}$ store real (decimal) numbers; $\texttt{char}$ stores a single character; $\texttt{void}$ represents no value/type.
What are the standard input and output functions in C, and which header file declares them?
$\texttt{scanf()}$ reads input and $\texttt{printf()}$ displays output. Both are declared in the header file $\texttt{stdio.h}$, included using $\texttt{\#include <stdio.h>}$.
ETEA Engineering Test Computer Science FAQ
What is in the ETEA Engineering Test Computer Science syllabus?
ETEA Engineering Test Computer Science is split into 4 chapters: Fundamentals of Computers, Data Communication and Networks, Data and Information Management and Programming Fundamentals. Together they contain 11 topics.
How many chapters are in ETEA Engineering Test Computer Science?
4 chapters, containing 11 topics. The largest chapter is Fundamentals of Computers, with 3 topics.
Are there flashcards for ETEA Engineering Test Computer Science?
Yes — a 52-card Computer Science deck, printed in full in the flashcards section of this page and available in the Examius app with spaced repetition. The free plan covers one exam of your choice, including its flashcards; Examius Pro, a one-time purchase, unlocks every other exam and deck.