
Set - 2

Quiz
•
Computers
•
University
•
Hard

Vijaya Lakshmi Masabathula
Used 3+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'volatile' keyword in C?
It indicates that a variable may be changed by an external process
It ensures that a variable is always initialized to zero
It specifies that a variable cannot be modified
It makes a variable immune to pointer arithmetic
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'restrict' keyword in C?
To restrict the access to a variable
To specify that a pointer is not aliased
To restrict the use of the 'goto' statement
To restrict the size of an array
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#include <stdio.h>
#define square(x) x*x
int main() {
int result = square(3 + 2);
printf("%d", result);
return 0;
}
25
Error
13
11
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the '__FUNCTION__' macro in C?
To return the current function name
To return the current file name
To return the current date and time
To return the current line number
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the area of a square is 64 square units, what is the length of one side?
6
16
8
10
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The sum of three consecutive odd numbers is 63. What is the smallest of these numbers?
21
19
25
28
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A train travels 200 kilometers in 4 hours. What is its average speed?
55
50
40
60
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
C Quest 2.0

Quiz
•
University
25 questions
C Quiz 1

Quiz
•
University
20 questions
PHP First Internal Practical Viva

Quiz
•
University
23 questions
Java Array

Quiz
•
University
15 questions
CODE ZENITH

Quiz
•
University
25 questions
Algoritma dan Pemrograman

Quiz
•
12th Grade - University
15 questions
Coding club Summit Online Quiz

Quiz
•
University
20 questions
variable in python

Quiz
•
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