Programming C++

Programming C++

2nd - 5th Grade

8 Qs

quiz-placeholder

Similar activities

Викторина Владаf

Викторина Владаf

1st - 5th Grade

12 Qs

HORA EN AYMARA

HORA EN AYMARA

1st - 3rd Grade

10 Qs

Minecraft

Minecraft

KG - 12th Grade

13 Qs

L4-CĐ1-B2-Các thao tác với thư mục

L4-CĐ1-B2-Các thao tác với thư mục

4th Grade

8 Qs

3.1 Persekitaran kod arahan  ask ting2

3.1 Persekitaran kod arahan ask ting2

2nd Grade

13 Qs

Digital world

Digital world

5th Grade

10 Qs

Curso Java

Curso Java

1st - 5th Grade

10 Qs

Quiz de Morfologia

Quiz de Morfologia

2nd Grade

10 Qs

Programming C++

Programming C++

Assessment

Quiz

Computers, Other

2nd - 5th Grade

Medium

Created by

Адильбек Камелов

Used 16+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be displayed on the console ?

string str = "zqwyrqwou";

char ch = str[4];

Console.WriteLine(ch);

z

q

w

r

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be displayed on the console after running this program?

char ch = (char)125;

Console.WriteLine(ch);

125

15

char

}

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which data type stores 1 character?

char

int

float

class

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Select the line with the error.

while(true){}

while(1 == 1){}

while(int 1){}

while(false){}

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What value can the "float" data type store?

12.5

string

=

void

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do I create a "float" array correctly?

float[] array =new string[10];

float[] array =new float[10];

float[] array = 1;

float[] =new float[10] array;

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What value can the "int" data type store?

1.5

0.5 * 3

2

string

8.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do I create a loop that repeats 10 times ?

for ( i < 10) { }

for (int i = 0; i < 10; i++) { }

for (int i = 0; i < 10; ) { }

for (int i = 0;) { }

Discover more resources for Computers