
oopm quiz 1

Quiz
•
Computers
•
Professional Development
•
Hard
Ayesha Mandloi
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which header file is required for cout and cin in Turbo C++?
conio.h
iostream.h
stdio.h
iomanip.h
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In Turbo C++, the return type of main() is usually written as:
void
int
char
float
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will be the output of cout << "Hello World"; ?
hello world
hello world
Hello World
HELLO WORLD
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
#include <iostream.h>
#include <conio.h>
void main() {
int a = 5, b = 2;
cout << a / b;
getch();
}
What will be the output?
2.5
2
3
Error
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which function is used to pause the output window until a key is pressed?
delay()
stop()
getch()
exit()
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which control statement is used in C++ to choose one option from many?
if-else
switch
for loop
goto
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will be the factorial of 5 calculated by the program?
25
100
120
60
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
BÀI KIỂM TRA 10 PHÚT

Quiz
•
Professional Development
20 questions
m1-html-css-js

Quiz
•
KG - Professional Dev...
10 questions
Test de HTML

Quiz
•
Professional Development
15 questions
JS

Quiz
•
Professional Development
10 questions
pemrograman dasar

Quiz
•
Professional Development
20 questions
La sintassi CSS

Quiz
•
9th Grade - Professio...
20 questions
Soal HTML, CSS, dan JavaScript Basic

Quiz
•
Professional Development
10 questions
Computer Applications Technology

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade