Computer Science Student Quiz

Computer Science Student Quiz

12th Grade

14 Qs

quiz-placeholder

Similar activities

Python

Python

7th - 12th Grade

15 Qs

Excel Quiz

Excel Quiz

KG - University

15 Qs

LA3.C3: Variables

LA3.C3: Variables

9th Grade - University

16 Qs

AWS Cloud

AWS Cloud

11th - 12th Grade

14 Qs

Arrays

Arrays

12th Grade

10 Qs

HTML

HTML

12th Grade

10 Qs

Simdig Komunikasi dalam Jaringan

Simdig Komunikasi dalam Jaringan

12th Grade - University

10 Qs

19W Final Exam - PLTW

19W Final Exam - PLTW

9th - 12th Grade

15 Qs

Computer Science Student Quiz

Computer Science Student Quiz

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

Kanishka Siriwardana

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?