โ† All Amazon Flashcard Decks

Introduction To Coding Flashcards

7 cards from real Amazon practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 7 Introduction To Coding flashcards as text
  1. What is the difference between '==' and '=' in many languages?

    Answer: '==' compares values while '=' assigns a value

    A single equals sign assigns a value, while a double equals sign tests for equality.

  2. Which of the following describes 'concatenation'?

    Answer: Joining two or more strings together

    Concatenation combines strings into one longer string.

  3. What is an integer?

    Answer: A whole number without a decimal point

    An integer is a whole number, positive or negative, with no fractional part.

  4. What does the term 'compile' mean?

    Answer: Translate source code into machine-readable instructions

    Compiling converts human-written code into a form the computer can execute.

  5. In an array indexed starting at 0, which index holds the first element?

    Answer: 0

    Most languages use zero-based indexing, so the first element is at index 0.

  6. What is a 'bug' in programming?

    Answer: An error or flaw that causes incorrect behavior

    A bug is a mistake in code that produces unexpected or incorrect results.

  7. Which structure runs code while a condition remains true?

    Answer: while loop

    A while loop continues executing as long as its condition evaluates to true.

Introduction To Coding Flashcards โ€” Amazon Study Cards with Answers