Digital Systems and Programming 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 Digital Systems and Programming flashcards as text
Which data type would you use to store the value 3.14 in most programming languages?
Answer: float
A float (floating-point) data type stores decimal numbers like 3.14.
What does a 'while' loop do in programming?
Answer: Repeats code as long as a condition is true
A while loop repeatedly executes its block of code as long as the specified condition remains true.
In binary, what is the value of 1101?
Answer: 13
1101 in binary equals 8+4+0+1 = 13 in decimal.
What is the purpose of an 'if-else' statement?
Answer: To make decisions based on a condition
An if-else statement executes one block of code if a condition is true, and another block if it is false.
Which of the following best describes a computer network?
Answer: Two or more computers connected to share resources
A network is two or more connected computers that can communicate and share resources like files and printers.
What does 'debugging' mean in programming?
Answer: Finding and fixing errors in a program
Debugging is the process of identifying and correcting errors or 'bugs' in a program.
What does the NOT logic gate do to an input signal?
Answer: Inverts the input signal
A NOT gate outputs the opposite of its input: if the input is 1, the output is 0, and vice versa.
How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. We have not yet matched this exam's facts to an official source, so confirm fees, dates and rules with the exam body. Not reviewed by a subject-matter expert. Editorial policy