Programming C++

Programming C++

2nd - 5th Grade

8 Qs

quiz-placeholder

Similar activities

Inputs and Booleans

Inputs and Booleans

3rd - 10th Grade

10 Qs

Java Lesson 4

Java Lesson 4

5th Grade - University

10 Qs

Python (введение)

Python (введение)

5th Grade

10 Qs

Curso Java

Curso Java

1st - 5th Grade

10 Qs

Кім білгір?

Кім білгір?

1st - 5th Grade

10 Qs

Examen 1.2

Examen 1.2

3rd Grade

9 Qs

คำสั่งวนรอบภาษาซี (post-test)

คำสั่งวนรอบภาษาซี (post-test)

3rd Grade - University

10 Qs

Asas Sains Komputer T2

Asas Sains Komputer T2

2nd - 10th 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;) { }