
Computer Science Student Quiz
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Kanishka Siriwardana
Used 2+ times
FREE Resource
Enhance your content in a minute
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());
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
ROBÓTICA-Joystik
Quiz
•
12th Grade
16 questions
Sains Komputer Tingkatan 4 - 1.3.1 Menjelaskan hubungan
Quiz
•
10th - 12th Grade
15 questions
effect of ict
Quiz
•
9th - 12th Grade
15 questions
Soal Informatika Kelas V
Quiz
•
5th Grade - University
15 questions
SENATIC Parcial Guía 3_PseInt
Quiz
•
10th Grade - University
10 questions
Binary Logic
Quiz
•
8th - 12th Grade
15 questions
PTS Algoritma dan Pemrograman
Quiz
•
9th - 12th Grade
15 questions
9-klass informatika 2-sherek monitoring test sorawları
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
