Search Header Logo

Class 10th(ch #3) Basic structure of C++

Authored by Syed Ahmed

Computers

10th Grade

Used 2+ times

Class 10th(ch #3) Basic structure of C++
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the keyword used to include header files in C++ programs?

gets ( )

compiler

main( )

#include

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a keyword in C++?

gets ( )

namespace

main( )

#include

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a compulsory element of a C++ program?

gets ( )

namespace

main( )

puts ( )

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'terminator' in programming?

To end a line of code

To execute a loop

To define a function

To comment out code

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not an executable statement?

gets ( )

namespace

comment statements

#include

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a standard library file that contains definitions of Standard Input and Output functions?

return value

multi line comment

cin statement

I/O Stream

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a type of loop in C++?

for

if

switch

while

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?