
Quiz-1
Authored by Anantha Lakshmi
Mathematics, Computers, Other
University - Professional Development
Used 8+ 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 • 5 pts
1)What is meant by ‘a’ in the following C operation?
fp = fopen("Random.txt", "a");
Attach
Append
Add
Apprehend
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
2)What will be the final value of x in the following C code?
#include <stdio.h>
void main()
{
int x = 5 * 9 / 3 + 9;
}
3.75
Depends
on compiler
24
3
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
3)What will be the output of the following C code?
#include <stdio.h>
int main()
{
int i = 0;
while (i = 0)
printf("True\n");
printf("False\n");
}
True (infinite time)
True (1 time)
False
Compiler dependent
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
4)What will be the output of the following C code?
#include <stdio.h>
void main()
{
m();
m();
}
void m()
{
static int x = 5;
x++;
printf("%d", x);
}
6 7
6 6
5 5
5 6
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
5)Which of the following is not a valid C variable name?
int number;
float rate;
int variable_count;
int $main;
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
6)Which keyword is used to prevent any changes in the variable within a C program?
immutable
mutable
const
volatile
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
7)What will be the value of the following Python expression?
4 + 3 % 5
7
2
4
1
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
20 questions
Quiz ODC-Jan 2021
Quiz
•
University
20 questions
Quiz No. 1_EA
Quiz
•
University
20 questions
Spreadsheet Fundamentals - Quiz2
Quiz
•
University
20 questions
Babak Penyisihan Tahap I FKTP
Quiz
•
Professional Development
20 questions
QUIZ WEEK 6
Quiz
•
University
20 questions
Skill Competition Quiz 2024
Quiz
•
10th Grade - University
15 questions
Pase de Salida
Quiz
•
KG - University
15 questions
Introducción Redes Tele1 IB
Quiz
•
10th 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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Mathematics
7 questions
Introduction to Fractions
Interactive video
•
1st Grade - University
14 questions
Transformations of Quadratic Functions
Quiz
•
KG - University
16 questions
Say it with Symbols Review
Quiz
•
7th Grade - University
20 questions
Special Right Triangles
Quiz
•
8th Grade - University
7 questions
Learning Check: 1 step Equations
Quiz
•
9th Grade - University
17 questions
Differential Equations Review
Quiz
•
11th Grade - University