โ† All ICAS Flashcard Decks

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

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

  3. In binary, what is the value of 1101?

    Answer: 13

    1101 in binary equals 8+4+0+1 = 13 in decimal.

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

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

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

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