WorksheetsBasic Programming Concepts Quiz #2
Total questions: 30
Worksheet time: 15mins
Nora wants to bake a cake. What is an algorithm?
A mistake in a program
A step-by-step set of instructions to solve a problem
A type of data used for text
A group of reusable code
What does the term "code" refer to in programming?
A container used to store data
The language or instructions written by programmers
A mistake in a program
A type of data used for text
William is learning to code and he creates something that can perform a specific task on his computer. What has William created?
A collection of code that performs a specific task
A mistake in a program
A type of data used for text
A group of reusable code
Kai was working on a school project and noticed that his program wasn't running as expected. What is this issue commonly referred to in programming?
A step-by-step set of instructions
A mistake or error in a program
A type of data used for text
A group of reusable code
Evelyn is working on a school project and encounters an error in her code. What is she doing when she tries to find and fix this error?
The process of finding and fixing bugs in your code
A step-by-step set of instructions
A type of data used for text
A group of reusable code
Avery is organizing her desk and needs a way to keep track of her pens, pencils, and erasers. What is a variable in programming?
A container used to store data
A mistake in a program
A type of data used for text
A group of reusable code
What is a loop in coding?
A mistake in a program
A coding structure that repeats a set of instructions
A type of data used for text
A group of reusable code
Benjamin is learning to code and wants to understand what syntax refers to in coding. What does syntax refer to?
The set of rules that define the structure of a coding language
A mistake in a program
A type of data used for text
A group of reusable code
Charlotte is using her computer to write a report. After she finishes, she prints the document. What is the output in this scenario?
Information the computer gives back
A mistake in a program
A type of data used for text
A group of reusable code
What is a Boolean data type?
A data type with only two values: true or false
A mistake in a program
A type of data used for text
A group of reusable code
Grace is organizing a charity event and needs to send out invitations to 100 guests. What is the purpose of using a loop (for/while) in her coding task?
To repeat actions multiple times
A mistake in a program
A type of data used for text
A group of reusable code
Anika is learning programming and she wants to store her favorite quote in a variable. What type of data should she use?
A type of data used for text
A mistake in a program
A group of reusable code
A container used to store data
Sophia has a collection of marbles. She counts them and finds that she has a certain number of whole marbles. What type of number does this represent?
A number with a fraction
A whole number
A decimal number
A negative number
Rohan is learning programming and he wants to use a tool that helps him write and test his code efficiently. What does IDE stand for in programming?
Integrated Data Environment
Integrated Development Environment
Internal Development Engine
Interactive Data Editor
Avery is learning to code and wants to automate a task that requires repeating the same set of instructions multiple times. What coding construct should Avery use?
To store data
To repeat instructions
To create graphics
To send messages
What does an event block do in coding?
Starts a script when something happens
Stops a program
Deletes data
Creates a new file
David is working on a school play and needs to set up the stage. What is a backdrop in this context?
A type of coding error
The background setting of a scene
A programming language
A data storage method
What is broadcasting in coding?
Sending a message to start other scripts
Storing data
Creating graphics
Debugging a program
What is data in the context of computing?
A type of software
Information that a computer uses or stores
A programming language
A computer virus
What is the use of loops to avoid writing the same code over and over called?
Sequence
Modularity
Repetition
Collaboration
Which concept involves making programs respond to user actions like clicking or typing?
Events & Interactivity
Design Before Coding
Testing
Abstraction
What is organizing code into sections for better readability and reuse called?
Persistence
Modularity
Sequence
Repetition
Jackson has just finished writing a computer program for his school project. What is the process he should follow to ensure that his program works as expected?
Persistence
Abstraction
Testing
Repetition
Oliver is at a costume party and wants to dress up as a superhero who can shoot webs. Which superhero should he choose?
Batman
Iron Man
Spider-Man
Hulk
David is watering his garden and wonders which part of the plant carries water from the roots to the leaves?
Flower
Stem
Leaf
Seed
What part of the plant is responsible for supporting the leaves and flowers?
Root
Stem
Leaf
Petal
Anika and Noah were discussing whether bananas grow on trees. Do bananas grow on trees?
True
False
Ethan is conducting a science experiment to find out at what temperature water boils. What temperature should he expect to observe?
90°C
100°C
110°C
120°C
Abigail and Ethan are looking at the night sky. Abigail asks, "Is the sun a star?"
True
False
During a thunderstorm, Hannah and Daniel are observing the sky. They notice a flash of lightning and then hear the thunder a few seconds later. Does sound travel faster than light?
True
False
