
Computer Science Student Quiz

Quiz
•
Computers
•
12th Grade
•
Hard
Kanishka Siriwardana
Used 2+ times
FREE Resource
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
Similar Resources on Wayground
10 questions
JavaScript 3 baco med

Quiz
•
12th Grade
10 questions
Quiz na początek I semestru Wstep do programowania

Quiz
•
7th Grade - University
10 questions
JavaScript

Quiz
•
12th Grade
19 questions
Java Base

Quiz
•
9th - 12th Grade
15 questions
C# Structured, Selection and Iteration

Quiz
•
9th Grade - University
15 questions
Java Variables, Input and Output

Quiz
•
10th - 12th Grade
10 questions
AppsLab_Q2

Quiz
•
10th Grade - Professi...
16 questions
Csharp 1.

Quiz
•
12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade