Starter quiz

  • What is an algorithm?
    • a specific programming language
    • a computer program
    • a set of step-by-step instructions to solve a problem  ✓
    • a type of computer hardware
  • Which of the following is the most accurate and complete definition of a computer program?
    • a step-by-step solution to a problem
    • a set of commands written in a specific language that a computer can run  ✓
    • a series of instructions designed to achieve a specific outcome
    • a graphical representation of a process
  • Match the following terms with their definitions
    • algorithm
      a step-by-step procedure for solving a problem  ✓
    • program
      a set of instructions that tells a computer what to do ✓
    • syntax
      the rules that govern how code is written in a programming language  ✓
  • In Python, which function is used to display text on the screen?
    • `input()`
    • `output()`
    • `print()`  ✓
    • `show()`
  • Identify the code that does not include a syntax error.
    • `print ("Hello")`  ✓
    • `print(Hello")`
    • `print("Hello"`
    • `PRINT("Hello")`
  • What happens if a program contains a syntax error?
    • It will not run.  ✓
    • It will run and work correctly.
    • It will run, but will not work correctly.
+