OOP C++ (1)

OOP C++ (1)

University

5 Qs

quiz-placeholder

Similar activities

Estructuras de control c++

Estructuras de control c++

University

8 Qs

Plot the Code

Plot the Code

University

10 Qs

Arrays in C (II yr 02.07.2020)

Arrays in C (II yr 02.07.2020)

University

10 Qs

CPP/C

CPP/C

University

10 Qs

cpp01_hello_cpp

cpp01_hello_cpp

6th Grade - University

10 Qs

C Program Array and strings

C Program Array and strings

University

10 Qs

pointers and structures

pointers and structures

University

10 Qs

C++ Test

C++ Test

University - Professional Development

4 Qs

OOP C++ (1)

OOP C++ (1)

Assessment

Quiz

Computers

University

Easy

Created by

Vija Vagale

Used 5+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int main() {

_____<< "Hello World!";

return 0;

}

Svītriņu vietā jāliek

cin

cout

count

incout

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

class Time

{

private: int hour;

public :

Time(int h = 0, int m = 0, int s = 0); //Nr. 1

void setTime(int h, int m, int s); //Nr. 2

};

Konstruktors ir funkcija ar numuru _____

1

2

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

class MyClass {

private int myNum;

};

Vai kods ir pareizs?

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int main() {

cout << "Hello World! ____";

cout << "I am learning C++";

return 0; }

Svītriņu "____" vietā ielikt "Pāreja uz nākamo rindiņu"

endl

\enter

\n

\break

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Funkcija, kas neko neatgriež sākas ar

int

iekavām

void

funkcijas nosaukumu