
c quiz
Authored by Jahnavi Siddavaram
Computers
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Who is the father of C language?
Steve Jobs
James Gosling
Dennis Ritchie
Rasmus Lerdorf
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. 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
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. Which of the following cannot be a variable name in C?
volatile
true
friend
export
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. Which of the following declaration is not supported by C language?
String str;
char *str;
float str = 3e2;
Both “String str;” and “float str = 3e2;”
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. When a C program is started, O.S environment is responsible for opening file and providing pointer for that file?
Standard input
Standard output
Standard error
All of the mentioned
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. What is meant by ‘a’ in the following C operation?
fp = fopen("Random.txt", "a");
Attach
Append
Apprehend
Add
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. What will be the output of the following C code?
#include <stdio.h>
int main()
{
int y = 1000;
int y = 34;
printf("Hello World! %d\n", y);
return 0;
}
Compile time error
Hello World! 34
Hello World! 1000
Hello World! followed by a junk value
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
10 questions
Data Warehouse - Foundations
Quiz
•
University
13 questions
Digital Technology Office 365 - 29May2020
Quiz
•
University - Professi...
15 questions
GIS Unit III
Quiz
•
University
20 questions
Quiz Harian Gdevelop MPK
Quiz
•
University
15 questions
Computer and Other Human Inventions
Quiz
•
University
10 questions
Python with DataScience
Quiz
•
7th Grade - University
20 questions
Digital and Analog transmission
Quiz
•
University
10 questions
UTILITY PROGRAM
Quiz
•
University
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
20 questions
Disney Trivia
Quiz
•
University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
14 questions
Ch.3_TEACHER-led
Quiz
•
University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University