1/30
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
What is coding?
A. Writing instructions for a computer to follow
B. Fixing broken hardware
C. Designing computer cases
D. Connecting computers to the internet
A. Writing instructions for a computer to follow
Coding instructions are most similar to which real-life example?
A. Driving directions
B. A recipe for baking a cake
C. A shopping list
D. A map
B. A recipe for baking a cake
What is a programming language?
A. A way to design websites
B. A way to write code computers can understand and run
C. A type of computer hardware
D. A database
B. A way to write code computers can understand and run
Programming languages require what to work correctly?
A. Fast internet
B. Expensive hardware
C. Strict syntax (rules)
D. A database
C. Strict syntax (rules)
What happens in a compiled language?
A. Code is translated line by line while running
B. Code is translated all at once before running
C. Code runs without translation
D. Code only works online
B. Code is translated all at once before running
Which languages are examples of compiled languages?
A. Python and JavaScript
B. HTML and SQL
C. C, C++, Java
D. Bash and PowerShell
C. C, C++, Java
What is true about interpreted languages?
A. They only work on Windows
B. They must be compiled first
C. They are translated line by line as they run
D. They cannot run on multiple computers
C. They are translated line by line as they run
Which is an interpreted language?
A. C++
B. Java
C. Python
D. Assembly
C. Python
What best describes assembly language?
A. High-level and easy to write
B. Used only for databases
C. Human-readable and interacts directly with hardware
D. Only used for websites
C. Human-readable and interacts directly with hardware
Why is assembly language considered low-level?
A. It is outdated
B. It does not need a compiler or interpreter
C. It only runs on slow computers
D. It uses English words
B. It does not need a compiler or interpreter
What are query languages used for?
A. Creating games
B. Interacting with databases
C. Writing operating systems
D. Controlling hardware
B. Interacting with databases
What does SQL stand for?
A. Simple Query Logic
B. System Question Language
C. Structured Query Language
D. Software Question List
C. Structured Query Language
What does a SQL SELECT statement do?
A. Deletes data
B. Adds data
C. Searches and retrieves data
D. Shuts down a database
C. Searches and retrieves data
Why is planning important before writing code?
A. It makes the code run faster
B. It helps define what the program should do
C. It reduces storage space
D. It replaces testing
B. It helps define what the program should do
Which is part of planning a coding project?
A. Choosing a monitor
B. Defining how users interact with the software
C. Buying hardware
D. Installing drivers
B. Defining how users interact with the software
What is program flow?
A. The speed of the CPU
B. The order a computer runs code
C. A type of loop
D. A programming language
B. The order a computer runs code
What does an IF/THEN statement do?
A. Repeats code forever
B. Runs code only when a condition is met
C. Stores data
D. Ends the program
B. Runs code only when a condition is met
What does a WHILE loop do?
A. Runs code once
B. Runs code a set number of times
C. Runs code as long as a condition is true
D. Stops a program
C. Runs code as long as a condition is true
What is a variable?
A. A type of computer
B. A container that holds values
C. A programming error
D. A loop
B. A container that holds values
Why is a video game score a good example of a variable?
A. It never changes
B. It is stored online
C. Its value changes as you play
D. It is always a number
C. Its value changes as you play
Which variable type stores whole numbers?
A. Float
B. Integer
C. String
D. Boolean
B. Integer
Which variable type stores True or False values?
A. Integer
B. String
C. Boolean
D. Character
C. Boolean
Which variable type stores text like “Hello World”?
A. Character
B. Boolean
C. String
D. Float
C. String
What is an array used for?
A. Storing one value
B. Running loops
C. Storing multiple values in a list
D. Making decisions
C. Storing multiple values in a list
What does the AND operator require to be true?
A. One condition
B. No conditions
C. Both conditions
D. Either condition
C. Both conditions
What does the OR operator do?
A. Requires both conditions
B. Requires at least one condition
C. Inverts a condition
D. Stops code
B. Requires at least one condition
What does the NOT operator do?
A. Ends a loop
B. Repeats code
C. Reverses True/False
D. Stores data
C. Reverses True/False
What is branching in code?
A. Repeating code
B. Storing data
C. Running different code based on conditions
D. Ending a program
C. Running different code based on conditions
When is a FOR loop best used?
A. When a condition is unknown
B. When code must run forever
C. When code runs a set number of times
D. When checking True/False
C. When code runs a set number of times
What is a function?
A. A variable
B. A loop
C. A reusable block of code for a task
D. A data type
C. A reusable block of code for a task
What does Object-Oriented Programming (OOP) focus on?
A. Hardware design
B. Objects that represent real-life things
C. Databases only
D. Network communication
B. Objects that represent real-life things