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

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

10th Grade

17 Qs

quiz-placeholder

Similar activities

Year 10 Programming Recap

Year 10 Programming Recap

9th - 10th Grade

18 Qs

Introduction to Python Programming

Introduction to Python Programming

7th - 10th Grade

12 Qs

Program Development - Python: Code Basics 1

Program Development - Python: Code Basics 1

8th - 10th Grade

16 Qs

Fundamentals of Programming C++

Fundamentals of Programming C++

9th Grade - University

20 Qs

JavaScript Operators

JavaScript Operators

9th - 12th Grade

20 Qs

CodeHS - Intro to Python - Basics and Console Interaction

CodeHS - Intro to Python - Basics and Console Interaction

9th Grade - Professional Development

20 Qs

Python Interaction

Python Interaction

9th Grade - Professional Development

20 Qs

Basic Python Console Operations

Basic Python Console Operations

10th Grade - University

21 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?