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

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

10th Grade

17 Qs

quiz-placeholder

Similar activities

SC C++  Quiz 1

SC C++ Quiz 1

7th - 12th Grade

15 Qs

Pseudocode AND Coding

Pseudocode AND Coding

10th Grade

17 Qs

Python Input and Arithmetic Quiz

Python Input and Arithmetic Quiz

9th Grade - University

17 Qs

exploring computer science

exploring computer science

9th - 12th Grade

15 Qs

HTML-FORM

HTML-FORM

10th Grade

20 Qs

CodeHS Python Unit 3 Quiz Review

CodeHS Python Unit 3 Quiz Review

9th - 12th Grade

20 Qs

Unit 1 Lesson 3 Vocabulary

Unit 1 Lesson 3 Vocabulary

9th - 12th Grade

20 Qs

Javascript Conditional Statements

Javascript Conditional Statements

9th - 12th Grade

20 Qs

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

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

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Syed Ahmed

Used 2+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?