Search Header Logo

OOP C++ (1)

Authored by Vija Vagale

Computers

University

Used 5+ times

OOP C++ (1)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

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

Already have an account?

Discover more resources for Computers