Quiz 1

Quiz
•
Computers
•
University
•
Hard
Muhammad Arefin
Used 5+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
In C++, the natural logarithm function log ( ) can be accessed through the header file <cmath> ; which makes log ( ) function a :
Pre-defined function
User-defined function
Standard library function
None of the them
All of them
2.
FILL IN THE BLANK QUESTION
30 sec • 2 pts
How many parameters are declared in the following statement which contains the declaration of a function?
int Test (int x, double y, float z, char p, n)
*Type only the number as answer*
3.
MULTIPLE CHOICE QUESTION
3 mins • 3 pts
What shall be the output of the program?
82
54.67
34.833
82.503
54.67
27.833
81
54.67
27.833
89.503
54.67
34.833
82
54.67 27.833
4.
OPEN ENDED QUESTION
2 mins • 2 pts
Differentiate between variable declaration and function declaration using an example.
Evaluate responses using AI:
OFF
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The argument passed by "value" to a function can be :
a variable
a constant
an expression
all of them
6.
MULTIPLE CHOICE QUESTION
3 mins • 2 pts
int module (int, int&);
int main()
{ int a = 80, b = 129, c = 144;
module(a, c);
cout << "a = " << a << ", b = " << c; }
int module (int x, int& y)
{ y = x; }
Choose the correct program output.
a = 80
b = 80
a = 80, b = 129
a = 80
b = 144
a = 80, b = 80
a = 80, c = 144
7.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Choose the correct program output.
6
bool
returns 7
7
Similar Resources on Wayground
10 questions
Python Basics

Quiz
•
University
10 questions
JSP Topic

Quiz
•
University
10 questions
C++ vs Python: A Quiz Introduction

Quiz
•
11th Grade - University
9 questions
Lenguaje de Programación C++. Parte 1.

Quiz
•
University
12 questions
C Basics

Quiz
•
University
11 questions
Array

Quiz
•
University
10 questions
Динамические библиотеки

Quiz
•
University
10 questions
T_4.2 Identifier, Data Types, Operators & Expressions

Quiz
•
12th Grade - University
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
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University