
Computer Science Student Quiz
Authored by Kanishka Siriwardana
Computers
12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 5 pts
Which line of code contains an error?
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the line that should go in the space?
int[amount] score = new int[amount];
int[] score = new int[amount]
int[] score = int[amount];
int[] score = new int[amount];
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is wrong with this program?
The while loops need a semi colon at the end
The count won't show in the final sentence
The count won't be changed by the while loops since its value isn't stated inside them
If the number 10 is entered the program will break
4.
FILL IN THE BLANK QUESTION
1 min • 5 pts
Which line of code contains an error?
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the error?
Missing if statement between lines 15 and 16
Missing int c , line 7
Missing if statement line 32
Missing else statement line 23
6.
MULTIPLE SELECT QUESTION
45 sec • 5 pts
This program does not work. Which two lines would allow it to work properly
float.Parse(Console.ReadLine());
float.Parse(Console.ReadLine);
string a = Console.ReadLine();
string a = Console.ReadLine;
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which line is missing from the program?
bool v = true;
string v = "true";
int v = 1
bool v = bool.Parse(Console.ReadLine());
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Internet Basics
Quiz
•
5th Grade - University
10 questions
Advanced SQL
Quiz
•
KG - University
11 questions
Unit 2, 1.3 Types of information access and storage devices
Quiz
•
12th Grade
17 questions
Project Stem Python Unit 1 Test Review
Quiz
•
9th - 12th Grade
15 questions
Problem Solving : Design Solution
Quiz
•
12th Grade
10 questions
Fun with Paint and Storage
Quiz
•
1st Grade - University
10 questions
MACAM-MACAM IKON PAINT
Quiz
•
5th - 12th Grade
10 questions
แบบทดสอบก่อนเรียน การสร้างภาพเคลื่อนไหว ครั้งที่6
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade
18 questions
Success Strategies
Quiz
•
9th - 12th Grade
10 questions
Valentine's Day Trivia
Quiz
•
9th - 12th Grade