🇵🇰 ETEA Engineering Test · flashcards

ETEA Engineering Test Computer Science Flashcards

52 question-and-answer cards covering Computer Science as it is examined in ETEA Engineering Test. 24 of them are printed below, taken from across the deck — no signup, no paywall on the preview.

52Cards in deck
24Free preview
11Syllabus topics
~198Chars per answer
FreePrice

24 sample cards from the Computer Science deck

Sampled from the end of the deck, so these are different cards from the ones shown on the syllabus page.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. 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.

  9. 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$).

  10. 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).

  11. 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.

  12. 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).

  13. 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.

  14. 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.

  15. 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.

  16. 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.

  17. 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.

  18. 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).

  19. 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.

  20. 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.

  21. 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.

  22. 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.

  23. 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.

  24. 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>}$.

What this deck covers

The Computer Science deck follows the ETEA Engineering Test Computer Science syllabus — 4 chapters and 11 topics — so questions land on material that is genuinely examinable rather than trivia around it. That works out to roughly 13.0 cards per chapter.

Answers are written to be recallable, not just readable — averaging about 198 characters, which is long enough to carry the reasoning and short enough to say out loud.

A deck like this earns its keep on the second and third pass. Read the syllabus first so you know the shape of the subject, then use the cards to find the specific facts that have not stuck.

Computer Science flashcards FAQ

How many Computer Science flashcards are in this ETEA Engineering Test deck?

52 cards. This page previews 24 of them, sampled evenly across the deck so you can judge the difficulty before installing anything.

Are these ETEA Engineering Test flashcards free?

Yes. The preview here is free to read with no signup, and the full 52-card deck is free inside the Examius app.

What do the Computer Science cards cover?

They follow the ETEA Engineering Test Computer Science syllabus — 4 chapters and 11 topics — so the questions track what is actually examinable.

How should I use these flashcards?

Read the syllabus first so you know the shape of the subject, then drill the deck. Examius schedules each card with spaced repetition, so cards you keep missing come back sooner and ones you know drift further apart.