
Quiz2: Basics of C 1

Quiz
•
Computers
•
10th Grade
•
Medium
Xin Yang
Used 14+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct value to return to the operating system upon the successful completion of a program?
-1
1
0
Programs do not return a value
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the only function all C programs must contain?
start()
system()
main()
program()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What punctuation ends most lines of C code?
.
;
:
'
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct comment?
*/Comments */
** Comment **
/* Comment */
{ Comment }
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a correct variable type?
float
real
int
double
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the C program?
#include<stdio.h>
int main()
{
int 1_one = 25;
printf("%d",1_one);
return 0;
}
2
25
1
Compilation Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A variable is a symbol that represents
A number
A string
A storage location in the computer's memory
Nothing
Create a free account and access millions of resources
Similar Resources on Wayground
6 questions
Pemrograman Dasar PTS Genap

Quiz
•
10th Grade
10 questions
Bài tập trắc nghiệm C++

Quiz
•
3rd - 12th Grade
10 questions
Understanding C Input and Output

Quiz
•
10th Grade
12 questions
Compound Operators in Java

Quiz
•
9th - 12th Grade
12 questions
PseInt

Quiz
•
10th Grade
9 questions
Java Basics #1

Quiz
•
10th - 12th Grade
12 questions
Arrays Intro

Quiz
•
9th - 12th Grade
15 questions
Python Basics

Quiz
•
KG - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade