Programming and Digital Systems Flashcards
7 cards from real ICAS practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 7 Programming and Digital Systems flashcards as text
What is an 'array' in programming?
Answer: A collection of elements stored under one name
An array is a data structure that stores multiple values of the same type under a single variable name, accessed by index.
Which of the following describes 'open source' software?
Answer: Software whose source code is freely available to view and modify
Open source software has its source code publicly available, allowing anyone to view, use, and modify it.
What does 'HTTP' stand for in web technology?
Answer: HyperText Transfer Protocol
HTTP stands for HyperText Transfer Protocol, which governs how data is transferred between web browsers and servers.
What is the output of: 5 + 3 * 2 in most programming languages?
Answer: 11
Due to operator precedence, multiplication is performed before addition: 3 × 2 = 6, then 5 + 6 = 11.
Which of the following best describes 'encryption'?
Answer: Converting data into a coded format to prevent unauthorized access
Encryption transforms readable data (plaintext) into a scrambled format (ciphertext) that can only be decoded with the correct key.
What is the purpose of a 'comment' in source code?
Answer: To provide human-readable explanations that the compiler ignores
Comments are notes written in code for human readers; the compiler or interpreter skips them during execution.
In a spreadsheet program, what does a formula beginning with '=' do?
Answer: Performs a calculation or function on cell data
In spreadsheet software like Excel, an '=' sign at the start of a cell entry tells the program to evaluate it as a formula or function.