
Set - 2
Authored by Vijaya Lakshmi Masabathula
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Data Security Worksheet
Quiz
•
10th Grade - University
18 questions
CIS2303 Week 4_5 Ch_3
Quiz
•
University
20 questions
WML & WAP
Quiz
•
University
20 questions
Software Engineering Quiz 1
Quiz
•
University
20 questions
Round 1 ( RHA Learner Contest )
Quiz
•
University
15 questions
Unit 1 lesson 1
Quiz
•
University - Professi...
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
20 questions
Network topologies
Quiz
•
8th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade