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
15 questions
Logic Gates Y10 Computer Science

Quiz
•
10th Grade
15 questions
Chapter 8 - Programming (IGCSE Computer Science)

Quiz
•
9th - 12th Grade
17 questions
WJEC GCSE Computer Science - Hardware Devices

Quiz
•
9th - 10th Grade
12 questions
Python Basic

Quiz
•
10th Grade
20 questions
Programming Quiz

Quiz
•
1st - 10th Grade
20 questions
SST Yr8 - NCCE - Programming

Quiz
•
9th - 12th Grade
20 questions
Fundamentals of IT

Quiz
•
9th - 12th Grade
15 questions
Hangman Game - Programming Questions

Quiz
•
7th - 11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade