
C introduction

Quiz
•
Computers
•
University
•
Hard
sobha xavier
Used 3+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Who is the father of C language?
a) Steve Jobs
b) James Gosling
c) Dennis Ritchie
d) Rasmus Lerdorf
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which type of memory can read data but can’t write data?
Random only memory
Random-access memory
Read-only memory
None of the above
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is a compiler?
system program that converts instructions to machine language
system program that converts machine language to high-level language
system program that writes instructions to perform
None of the mentioned
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet?
#include <stdio.h>
int main()
{
int a = 3, b = 5;
int t = a;
a = b;
b = t;
printf("%d %d", a, b);
return 0;
}
3 5
3 3
5 5
5 3
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code snippet?
#include <stdio.h>
int main()
{
int sum = 2 + 4 / 2 + 6 * 2;
printf("%d", sum);
return 0;
}
2
15
16
18
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true for variable names in C?
They can contain alphanumeric characters as well as special characters
It is not an error to declare a variable to be one of the keywords(like goto, static)
Variable names cannot start with a digit
Variable can be of any length
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
#include <stdio.h>
void main()
{
int x = 5;
if (x < 1)
printf("hello");
if (x == 5)
printf("hi");
else
printf("no");
}
hi
hello
no
hi hello
Create a free account and access millions of resources
Similar Resources on Wayground
19 questions
C Language Array Quiz

Quiz
•
University
20 questions
TES Pemahaman Materi

Quiz
•
University
20 questions
Quantitative Aptitude Series

Quiz
•
University
22 questions
C Language Loop and Array Quiz

Quiz
•
University
15 questions
Quiz Pelatihan Pengenalan Bahasa Pemrograman C Part 1

Quiz
•
12th Grade - University
20 questions
Programming Concepts in C

Quiz
•
University
25 questions
C PROGRAMMING

Quiz
•
University
20 questions
CSE C Section

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University