Search Header Logo

EMT101 Quiz

Authored by Mohammad Hafifi Ishaik

Engineering

12th Grade

Used 3+ times

EMT101 Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who is considered the inventor of C++?

James Gosling

Dennis Ritchie

Bjarne Stroustrup

Guido van Rossum

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of #include <iostream> in C++?

To import mathematical functions

To enable basic input and output

To define character types

To create variables

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used for output in C++?

cin

cout

return

include

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used for input in C++?

cin

cout

return

input

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary difference between a user and a programmer?

A user creates programs, while a programmer uses them.

A programmer creates programs, while a user interacts with them.

Both users and programmers create programs.

Programmers and users both test code.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol is used to end a statement in C++?

:

;

.

!

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of `return 0;` in the main function?

To create an error

To initialize a variable

To end the program successfully

To repeat a function

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?