CPS Unit 1

Quiz
•
Computers
•
11th Grade
•
Medium
James Santiago
Used 2+ times
FREE Resource
27 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Abigail is writing a program and wants to add notes for future reference. Which of the following statements about comments is true?
They are necessary for the program to function
They are ignored by the program during execution
They are used to store program output
They are compiled into machine code
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mia is learning programming and wants to write code that the computer can understand. What is the term for the rules she must follow?
The rules for how a programmer must write code for a computer to understand
The hardware components of a computer
The graphical interface of a software application
The process of debugging a program
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What should the file name be for a public class named NeighborhoodRunner?
NeighborhoodRunner.java
neighborhoodrunner.java
Neighborhoodrunner.java
RunnerNeighborhood.java
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of a syntax error in a program?
The program fails to compile
The program runs with incorrect output
The program runs slower than expected
The program uses more memory
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Syntax errors can be identified by:
using a compiler or interpreter
writing comments in the code
running the program without saving
ignoring error messages
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of a syntax error?
Missing semicolon
Infinite loop
Incorrect algorithm
Slow execution
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an attribute in object-oriented programming?
A function that performs an action
A characteristic of an object
A type of error in a program
A method to compile code
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Visual Programming

Quiz
•
5th - 12th Grade
25 questions
AQA OOP Programming

Quiz
•
10th - 12th Grade
22 questions
Instructions & Programs

Quiz
•
9th - 12th Grade
25 questions
Threats To Computers

Quiz
•
10th - 11th Grade
22 questions
AP CSP Unit 9 Review

Quiz
•
9th - 12th Grade
24 questions
2.5 Languages and IDEs

Quiz
•
11th Grade
22 questions
CIW IBA Lesson 7 Vocabulary

Quiz
•
8th Grade - Professio...
26 questions
The First Programming Languages

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade