First 50 of 198 questions. Each one lists the choices, the correct answer, and an explanation. The checker at the top of this page saves progress in this browser when it is available.
Continue in the practice tool above to load more questions, 50 at a time.
Question 1Computer Science
In a spreadsheet, which symbol must a formula begin with so that the software treats the entry as a calculation rather than as text?
- #
- &
- = Correct answer.
- @
Explanation
A spreadsheet formula always starts with the equals sign, which signals that the following characters form an expression to be evaluated. Without it, entries such as SUM(A1:A5) are stored as ordinary text and no result is computed.
Question 2Computer Science
Which file extension is normally associated with a Microsoft Word document?
- XLSX
- DOCX Correct answer.
- PPTX
- PDF
Explanation
Word saves editable documents with the .docx extension in its modern default format. XLSX belongs to Excel workbooks and PPTX to PowerPoint presentations, while PDF is a portable fixed-layout format.
Question 3Computer Science
In a computer network, what does the abbreviation LAN stand for?
- Large Area Network
- Linked Access Node
- Local Area Network Correct answer.
- Logical Address Number
Explanation
LAN stands for Local Area Network, a network covering a limited area such as a school computer lab or a single building. It is contrasted with WAN, which spans large geographical distances.
Question 4Computer Science
Which of the following is an example of system software rather than application software?
- An operating system Correct answer.
- A spreadsheet program
- A photo editor
- A web browser
Explanation
System software manages hardware and provides a platform on which other programs run; an operating system is the primary example. Spreadsheets, browsers and photo editors are application software written to perform user tasks.
Question 5Computer Science
In a relational database table, what is a primary key?
- A field that may contain duplicate values
- A field whose value uniquely identifies each record Correct answer.
- A field used only to store numeric totals
- The first column created in the table
Explanation
A primary key is a field or combination of fields whose value is unique for every record and is never null, so each row can be identified unambiguously. Physical position in the table has no bearing on which field serves as the key.
Question 6Computer Science
Which keyboard shortcut is commonly used to copy the selected item in Windows applications?
- Ctrl + C Correct answer.
- Ctrl + Z
- Ctrl + X
- Ctrl + V
Explanation
Ctrl + C places a copy of the selected content on the clipboard while leaving the original in place. The related shortcuts Ctrl + X cuts and Ctrl + V pastes the clipboard contents.
Question 7Computer Science
Which number system uses only the digits 0 and 1 and is the basis of digital data representation?
- Binary Correct answer.
- Decimal
- Hexadecimal
- Octal
Explanation
The binary system has base 2 and therefore only two symbols, 0 and 1, which map directly onto the off and on states of digital circuits. Octal and hexadecimal are compact notations used by programmers but use more digits.
Question 8Computer Science
What is the main purpose of an email signature in a message?
- To compress attachments
- To append the sender's identifying details automatically Correct answer.
- To schedule delivery time
- To encrypt the message body
Explanation
An email signature is a block of text, often containing name, designation and contact details, that the client appends automatically at the end of outgoing messages. It carries no encryption, compression or scheduling function.
Question 9Computer Science
A student types =B2*C2 in cell D2 of a spreadsheet and then copies the formula down to D3. What formula appears in D3?
- =B3*C3 Correct answer.
- =B2*C3
- =B3*C2
- =B2*C2
Explanation
When a formula containing relative references is copied one row down, both row numbers increase by one, so B2 and C2 become B3 and C3. Absolute references would be needed if a reference had to stay fixed.
Question 10Computer Science
What is the decimal value of the binary number 1011?
- 11 Correct answer.
- 15
- 9
- 13
Explanation
Evaluating place values gives 1×8 + 0×4 + 1×2 + 1×1 = 11. Each position to the left doubles in weight, starting from 1 at the rightmost bit.
Question 11Computer Science
Which SQL clause is used to filter rows returned by a query based on a condition?
- GROUP BY
- ORDER BY
- HAVING
- WHERE Correct answer.
Explanation
The WHERE clause applies a condition to individual rows before grouping, so only rows satisfying it are returned. ORDER BY sorts results and GROUP BY forms groups, while HAVING filters groups after aggregation.
Question 12Computer Science
In a spreadsheet, which function returns the largest value in the range A1:A10?
- =SUM(A1:A10)
- =COUNT(A1:A10)
- =MIN(A1:A10)
- =MAX(A1:A10) Correct answer.
Explanation
The MAX function scans the given range and returns its highest numeric value. MIN returns the smallest, SUM adds the values and COUNT reports how many numeric entries exist.
Question 13Computer Science
Which device converts digital signals from a computer into analogue signals that can travel over a telephone line?
- Repeater
- Switch
- Router
- Modem Correct answer.
Explanation
A modem performs modulation and demodulation, converting digital data to analogue form for transmission and back again at the receiving end. Routers forward packets between networks and switches connect devices within a LAN.
Question 14Computer Science
What is the primary function of cache memory in a computer system?
- To store files permanently after shutdown
- To hold frequently used data close to the processor for fast access Correct answer.
- To back up data to an external drive
- To convert programs into machine code
Explanation
Cache is a small, high-speed memory placed between the CPU and main memory that keeps recently or frequently used instructions and data. This reduces the average time the processor waits for main memory.
Question 15Computer Science
A student wants the formula in cell E5 to always refer to the value in cell B1 when copied to other cells. Which reference should be used?
- $B1
- B1
- B$1
- $B$1 Correct answer.
Explanation
An absolute reference places a dollar sign before both the column letter and the row number, so neither part changes when the formula is copied. Mixed references fix only one component and still shift the other.
Question 16Computer Science
Which of the following is a valid IPv4 address?
- 192.168.1
- 192.168.1.256
- 192.168.1.10 Correct answer.
- 192.168.1.10.5
Explanation
An IPv4 address consists of four decimal octets separated by dots, and each octet must lie between 0 and 255. The address 192.168.1.10 satisfies both conditions.
Question 17Computer Science
In a database, which type of relationship exists when one record in table A can be linked to many records in table B, but each record in B links to only one record in A?
- One-to-one
- Zero-to-one
- Many-to-many
- One-to-many Correct answer.
Explanation
A one-to-many relationship links a single parent record to multiple child records while each child belongs to exactly one parent, as with a customer and their orders. A many-to-many relationship would allow several records on both sides.
Question 18Computer Science
Why is a compiler generally preferred over an interpreter for distributing commercial software?
- It translates the program line by line at run time
- It always uses less memory during execution
- It produces a standalone executable that runs without the source code Correct answer.
- It eliminates the need for any testing
Explanation
A compiler translates the entire source program into machine code in advance, producing an executable file that can be distributed without revealing the source. An interpreter translates and executes statements one at a time and requires the source to be present.
Question 19Computer Science
A school wants its computer lab to share one internet connection while keeping local traffic separate from outside networks. Which combination of devices best serves this purpose?
- A hub and a plotter
- A repeater and a scanner
- A modem and a printer
- A router and a switch Correct answer.
Explanation
The switch connects the lab computers into a local network and forwards frames between them, while the router joins that local network to the internet and directs traffic between the two. Peripheral devices such as printers and scanners do not perform these networking functions.
Question 20Computer Science
A student needs to submit a typed report containing text, a table and a chart. Which software category is most appropriate?
- Spreadsheet software
- Image editing software
- Presentation software
- Word processing software Correct answer.
Explanation
Word processing software is designed for composing documents that combine text with tables, images and charts arranged on pages. Spreadsheets suit calculations and presentations suit slide-based delivery, but neither is optimised for a multi-page written report.
Question 21Computer Science
A spreadsheet cell displays the error value #DIV/0!. What is the most likely cause?
- The formula contains a misspelled function name
- The column is too narrow to show the result
- The formula refers to a text value in a numeric operation
- The formula divides by a cell that is empty or contains zero Correct answer.
Explanation
The #DIV/0! error appears when a division operation has a divisor equal to zero, including a reference to a blank cell that is treated as zero. Correcting the divisor or guarding the formula with a condition clears the error.
Question 22Computer Science
A binary number has 8 bits. What is the largest unsigned decimal value it can represent?
- 128
- 512
- 256
- 255 Correct answer.
Explanation
With n bits the number of distinct patterns is 2^n, so 8 bits give 256 patterns. Counting from zero, the largest unsigned value is therefore 2^8 − 1, which equals 255.
Question 23Computer Science
A table stores student records and a separate table stores the subjects each student has chosen. Which design correctly models the many-to-many relationship between students and subjects?
- Create a linking table containing student and subject identifiers Correct answer.
- Merge both tables into a single table with repeated rows
- Add a subject column to the student table only
- Add a student column to the subject table only
Explanation
A many-to-many relationship cannot be represented by a single foreign key on either side, because each student may take several subjects and each subject may be taken by several students. A junction table holding both identifiers resolves it into two one-to-many relationships.
Question 24Computer Science
A program must repeatedly read input values until the user enters a sentinel value, then display a summary. Which control structure is most suitable for the input loop?
- A while loop tested before each iteration Correct answer.
- A definite for loop with a fixed count
- A nested function definition
- A single sequential statement block
Explanation
Because the number of inputs is unknown in advance, the loop must be controlled by a condition rather than a fixed count. A while loop checks the condition before each iteration and stops as soon as the sentinel value is read.
Question 25Computer Science
Two hosts on the same local network have been assigned the identical IPv4 address. What is the most likely consequence?
- The router will automatically double the bandwidth
- Both hosts will receive faster connections
- Address conflicts will disrupt communication for one or both hosts Correct answer.
- The network will convert the address to IPv6
Explanation
An IPv4 address must be unique within a network, so duplicate assignment causes an address conflict in which replies may be delivered to the wrong host and connectivity fails intermittently. Automatic conversion to IPv6 or increased bandwidth does not occur.
Question 26Computer Science
Which type of software is MS Windows an example of?
- Programming software
- System software Correct answer.
- Utility software
- Application software
Explanation
An operating system is system software because it manages hardware, memory, files and provides the platform on which other programs run. Application, utility and programming tools all run on top of that platform rather than providing it.
Question 27Computer Science
Which storage medium stores data using laser light and is typically read-only when supplied with software?
- Optical disc Correct answer.
- Magnetic tape
- Solid-state drive
- Hard disk drive
Explanation
Optical discs such as CD-ROM and DVD-ROM record data as pits and lands that are read by a laser beam. Pressed discs of this kind cannot be rewritten by the user, which is why they suit software distribution.
Question 28Computer Science
In a word processor, which feature is used to place the same text automatically at the bottom of every page of a report?
- Footnote
- Footer Correct answer.
- Text box
- Header
Explanation
A footer is a page region repeated at the bottom of each page, so page numbers or document titles entered there appear on every page automatically. A header does the same job at the top of the page.
Question 29Computer Science
What does the file extension .pptx indicate about a file?
- It is a spreadsheet workbook
- It is a presentation created in PowerPoint Correct answer.
- It is a plain text document
- It is a compressed archive
Explanation
The extension identifies the file type and the program that can open it; .pptx is the modern PowerPoint presentation format. Windows uses this extension to associate the file with the correct application.
Question 30Computer Science
Which key is held down with a letter key to type an uppercase letter on a standard keyboard?
- Tab
- Shift Correct answer.
- Ctrl
- Alt
Explanation
Shift is a modifier key: holding it while pressing a letter key produces the uppercase character shown on the key cap. Ctrl and Alt are also modifiers but are used for shortcuts rather than case change.
Question 31Computer Science
Which generation of computers is characterised by the use of integrated circuits?
- Fourth generation
- Third generation Correct answer.
- First generation
- Second generation
Explanation
Third-generation computers replaced discrete transistors with integrated circuits, which packed many components onto one chip and made machines smaller and more reliable. The fourth generation is associated with microprocessors.
Question 32Computer Science
Which protocol is used to transfer web pages between a web server and a browser?
- HTTP Correct answer.
- DNS
- FTP
- SMTP
Explanation
HTTP defines how a browser requests a web resource and how the server responds with the page content. FTP, SMTP and DNS serve file transfer, mail delivery and name resolution respectively.
Question 33Computer Science
In a relational database, which key uniquely identifies each record in a table?
- Primary key Correct answer.
- Candidate key
- Foreign key
- Composite key
Explanation
The primary key is the chosen field or field combination whose value is unique and never null for every row, so each record can be identified exactly. Other keys may also be unique but are not the one selected to identify rows.
Question 34Computer Science
A student wants the value 500 to appear in cell A1 as currency with two decimal places. Which number format should be applied?
- Number with 0 decimal places
- General
- Currency with 2 decimal places Correct answer.
- Percentage
Explanation
Currency format inserts the currency symbol and fixes the displayed decimal places, so the stored value 500 is shown as a monetary amount with two decimals. The underlying value does not change, only its display.
Question 35Computer Science
A cell contains the formula =IF(A1>=40,"Pass","Fail"). If A1 holds 40, what does the cell display?
- 40
- #VALUE!
- Pass Correct answer.
- Fail
Explanation
The IF function returns the first result when the logical test is true. Because the test uses the greater-than-or-equal operator, 40 satisfies A1>=40 and the text Pass is returned.
Question 36Computer Science
A student writes a paragraph and wants the first line of each paragraph indented while the rest stays flush. Which setting is used?
- First-line indent Correct answer.
- Justification
- Hanging indent
- Line spacing
Explanation
A first-line indent pushes only the opening line of a paragraph inward, which is the conventional way to mark a new paragraph. A hanging indent does the opposite by indenting all lines except the first.
Question 37Computer Science
Which conversion is performed by an analogue-to-digital converter in a computer system?
- Binary numbers to decimal numbers for display
- Compressed files to their original form
- Continuous physical signals to discrete numeric values Correct answer.
- Digital data to analogue signals for a speaker
Explanation
An ADC samples a continuously varying physical quantity such as sound and quantises each sample into a discrete number the computer can store. The reverse direction, numbers to a continuous signal, needs a DAC.
Question 38Computer Science
A user reports that a computer powers on but shows no image on the monitor, and the monitor's power light is on. Which step is the most appropriate first check?
- Verify the video cable connection and monitor input source Correct answer.
- Replace the hard disk
- Reinstall the operating system
- Run a full antivirus scan
Explanation
When the monitor has power but no picture, the fault usually lies in the signal path, so the cable and the selected input source should be checked first. This is a cheap, non-destructive test before any hardware replacement or software action.
Question 39Computer Science
A company wants employees to access shared files with different permission levels. Which type of network is most suitable for a single office building?
- PAN
- WAN
- LAN Correct answer.
- MAN
Explanation
A LAN connects devices within a limited area such as one building and supports central file servers with per-user permissions. Larger geographic scopes are handled by MAN and WAN technologies.
Question 40Computer Science
What is the main function of a web browser?
- To compile source code into machine code
- To request, interpret and display web resources Correct answer.
- To manage the file system of the computer
- To assign IP addresses to network devices
Explanation
A browser sends HTTP requests for web resources and renders the returned HTML, CSS and scripts into a viewable page. It acts as the client in the client-server model of the web.
Question 41Computer Science
Which of the following is an example of system software that translates a whole program before execution?
- Loader
- Editor
- Linker
- Compiler Correct answer.
Explanation
A compiler translates the complete source program into object code before the program runs, reporting errors in a batch. The linker and loader then combine and place that code into memory for execution.
Question 42Computer Science
A spreadsheet contains names in column A and marks in column B. Which formula counts how many students scored more than 75?
- =AVERAGEIF(B2:B20,">75")
- =SUM(B2:B20>75)
- =COUNTIF(B2:B20,">75") Correct answer.
- =COUNT(B2:B20)
Explanation
COUNTIF counts the cells in a range that satisfy a given criterion, so COUNTIF with the criterion ">75" returns the number of marks above 75. The comparison must be written as text inside quotes.
Question 43Computer Science
Which statement about RAM and ROM is correct?
- RAM retains its contents permanently after shutdown
- ROM can be written to as often as RAM during normal use
- RAM is volatile and holds programs currently in use Correct answer.
- ROM is volatile and loses its contents at power-off
Explanation
RAM is read-write volatile memory that holds the operating system and running programs while power is on. ROM is non-volatile and normally read-only, holding firmware such as the boot instructions.
Question 44Computer Science
A student types 25% into a cell and the cell displays 0.25. What has happened?
- The decimal separator has been changed
- The value has been converted to text
- The formula contains a circular reference
- The cell has been formatted as Percentage Correct answer.
Explanation
Percentage format stores the underlying fraction and displays it multiplied by 100 with a percent sign. Typing 25% therefore stores 0.25, which appears as 25% only when percentage formatting is active.
Question 45Computer Science
Which addressing mode is used when an instruction contains the operand itself rather than its address?
- Immediate addressing Correct answer.
- Register addressing
- Direct addressing
- Indirect addressing
Explanation
In immediate addressing the operand value is encoded directly in the instruction, so no memory fetch for the operand is needed. Direct and indirect modes supply an address or the address of an address instead.
Question 46Computer Science
A table of orders stores the customer name in every order row. Which problem does this design most directly cause?
- Faster query execution
- Automatic enforcement of referential integrity
- Loss of the primary key
- Data redundancy and update anomalies Correct answer.
Explanation
Repeating the customer name in every order row duplicates data, so a change of name must be made in many places and inconsistent copies can result. Normalisation removes this by storing the customer once and referring to it by key.
Question 47Computer Science
A recursive function has no base case. What is the most likely result when it is called?
- It runs until the call stack overflows Correct answer.
- It compiles with a syntax error
- It is converted automatically into a loop
- It returns zero immediately
Explanation
Each recursive call adds a frame to the call stack, and without a terminating base case the calls never stop, so the stack eventually overflows. Compilers generally do not reject such logic because it is syntactically valid.
Question 48Computer Science
A network uses the subnet mask 255.255.255.192. How many usable host addresses does each subnet provide?
- 62 Correct answer.
- 64
- 126
- 30
Explanation
The mask 255.255.255.192 borrows two bits for the subnet portion, leaving six host bits. Six host bits give 64 addresses, and subtracting the network and broadcast addresses leaves 62 usable hosts.
Question 49Computer Science
In a relational database, a foreign key value that matches no primary key in the referenced table violates which constraint?
- Domain integrity
- Referential integrity Correct answer.
- Key uniqueness
- Entity integrity
Explanation
Referential integrity requires every foreign key value to match an existing primary key value in the referenced table, or to be null where permitted. A dangling reference breaks that rule and is rejected by the DBMS.
Question 50Computer Science
A student creates a document in a word processor and saves it with the .docx extension. Which type of file has been created?
- A document file that stores formatting, images and layout information Correct answer.
- A text file containing only plain unformatted characters
- A compressed archive holding several files together
- An executable file that runs when double-clicked
Explanation
The .docx extension belongs to a word-processing document format, so the file stores text together with formatting, images, tables and page layout rather than raw characters alone. A plain text file normally uses .txt and cannot retain bold, font or layout settings. Executable programs use extensions such as .exe, and compressed archives use .zip or .rar.