Computer Science Student Quiz

Computer Science Student Quiz

12th Grade

14 Qs

quiz-placeholder

Similar activities

Javascript Basics Quiz Review

Javascript Basics Quiz Review

12th Grade

15 Qs

Computer Sci Programming C# 1 -Data Types and Variables

Computer Sci Programming C# 1 -Data Types and Variables

8th - 12th Grade

17 Qs

AppsLab_Q2

AppsLab_Q2

10th Grade - Professional Development

10 Qs

Quiz na początek I semestru Wstep do programowania

Quiz na początek I semestru Wstep do programowania

7th Grade - University

10 Qs

Большое Повторение C#

Большое Повторение C#

5th Grade - University

15 Qs

Session 1

Session 1

9th - 12th Grade

10 Qs

Review

Review

12th Grade

12 Qs

Java Variables, Input and Output

Java Variables, Input and Output

10th - 12th Grade

15 Qs

Computer Science Student Quiz

Computer Science Student Quiz

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Kanishka Siriwardana

Used 2+ times

FREE Resource

14 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 5 pts

Media Image

Which line of code contains an error?

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

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

Media Image

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

Media Image

Which line of code contains an error?

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

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

Media Image

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

Media Image

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Discover more resources for Computers