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

Quiz
•
Computers
•
10th Grade
•
Hard
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
Similar Resources on Wayground
20 questions
OCR J275 Hardware Part B

Quiz
•
10th Grade
13 questions
Hardware SFA 1 Study Guide

Quiz
•
10th Grade
17 questions
Operators in Python

Quiz
•
9th Grade - Professio...
12 questions
Computer Hardware

Quiz
•
9th - 12th Grade
16 questions
Boolean Logic and Truth Tables Quiz (C&D)

Quiz
•
9th - 12th Grade
22 questions
Excel Basics and More

Quiz
•
7th - 12th Grade
15 questions
Information Technology Acronyms for GenCyber

Quiz
•
6th - 12th Grade
20 questions
Computer Hardware - Input&Output Devices for Situations

Quiz
•
1st - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade