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
National 5 Programming (VB and Theory)

Quiz
•
1st - 11th Grade
16 questions
Computer Science 2.2

Quiz
•
10th Grade
15 questions
DAR Intro to Computers

Quiz
•
9th - 12th Grade
21 questions
Computer Science Progress Check Year 10

Quiz
•
10th Grade
19 questions
Topic 1: Keywords

Quiz
•
10th - 11th Grade
17 questions
OCR GCSE Computer Science: 1.1 Architecture (Part 1)

Quiz
•
10th Grade
20 questions
Computer Basics

Quiz
•
9th - 12th Grade
20 questions
Fundamentals of Programming C++

Quiz
•
9th Grade - University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade