Free Printable Worksheets for learning Programming at the High School level

Here's some sample Programming quizzes Sign in to generate your own quiz worksheet.

Programming Quiz

What is a computer program?

A computer program is a set of instructions that tells a computer what to do. It is written in a specific programming language and can be used to control the behavior of a computer.

What is a programming language?

A programming language is a formal language that is used to write computer programs. It consists of a set of instructions that can be used to create a program. Examples of programming languages include C, Java, Python, and JavaScript.

What is an algorithm?

An algorithm is a set of instructions that are used to solve a problem or accomplish a task. Algorithms are written in a specific programming language and can be used to create computer programs.

What is a variable?

A variable is a named storage location in a computer program. It can be used to store data such as numbers, strings, and objects. Variables can be used to create dynamic programs that can be changed over time.

What is a loop?

A loop is a control structure that can be used to repeat a set of instructions multiple times. Loops are used to automate repetitive tasks and reduce the amount of code that needs to be written. Examples of loops include for loops, while loops, and do-while loops.

What is a function?

A function is a set of instructions that can be used to perform a specific task. Functions are usually written in a programming language and can be used to create a reusable piece of code. Functions can be used to reduce the amount of code that needs to be written and to make programs easier to read and understand.

What is a class?

A class is a template for creating objects. Classes can be used to create objects that have the same attributes and methods. Classes are used to create objects that can be used to represent real-world entities such as people, animals, and cars.

What is an object?

An object is an instance of a class. Objects have attributes and methods that can be used to manipulate the object's data. Objects are used to represent real-world entities such as people, animals, and cars.

What is a data structure?

A data structure is a way of organizing data in a computer program. Examples of data structures include arrays, linked lists, and trees. Data structures are used to store and organize data in a way that is efficient and easy to access.

What is a database?

A database is a collection of structured data that is stored in a computer system. Databases are used to store large amounts of data and are used to create applications such as web applications and mobile applications.

Answer Key

  1. A computer program is a set of instructions that tells a computer what to do.
  2. A programming language is a formal language that is used to write computer programs.
  3. An algorithm is a set of instructions that are used to solve a problem or accomplish a task.
  4. A variable is a named storage location in a computer program.
  5. A loop is a control structure that can be used to repeat a set of instructions multiple times.
  6. A function is a set of instructions that can be used to perform a specific task.
  7. A class is a template for creating objects.
  8. An object is an instance of a class.
  9. A data structure is a way of organizing data in a computer program.
  10. A database is a collection of structured data that is stored in a computer system.

Here's some sample Programming practice sheets Sign in to generate your own practice sheet worksheet.

.

Programming Practice Sheet

  1. What is a programming language? A. A programming language is a set of instructions that tells a computer how to perform a task.

  2. What is a program? A. A program is a set of instructions written in a programming language that tells a computer how to perform a task.

  3. What is a variable? A. A variable is a named memory location that stores a value which can be changed during the execution of a program.

  4. What is an algorithm? A. An algorithm is a set of instructions or steps that are followed to solve a problem.

  5. What is a control flow statement? A. A control flow statement is a type of statement in a programming language that allows the programmer to control the flow of execution of a program.

  6. What is a loop? A. A loop is a type of control flow statement that allows a programmer to execute a set of instructions multiple times.

  7. What is a conditional statement? A. A conditional statement is a type of control flow statement that allows the programmer to execute a set of instructions only if a certain condition is met.

  8. What is a function? A. A function is a set of instructions that can be called from other parts of a program.

  9. What is a parameter? A. A parameter is a value that is passed to a function when it is called.

  10. What is debugging? A. Debugging is the process of finding and fixing errors in a program.

Answer Key: 1. A programming language is a set of instructions that tells a computer how to perform a task. 2. A program is a set of instructions written in a programming language that tells a computer how to perform a task. 3. A variable is a named memory location that stores a value which can be changed during the execution of a program. 4. An algorithm is a set of instructions or steps that are followed to solve a problem. 5. A control flow statement is a type of statement in a programming language that allows the programmer to control the flow of execution of a program. 6. A loop is a type of control flow statement that allows a programmer to execute a set of instructions multiple times. 7. A conditional statement is a type of control flow statement that allows the programmer to execute a set of instructions only if a certain condition is met. 8. A function is a set of instructions that can be called from other parts of a program. 9. A parameter is a value that is passed to a function when it is called. 10. Debugging is the process of finding and fixing errors in a program.

Background image of planets in outer space