
MEcp1LABMT1030
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Armilyn Martinez
Used 1+ times
FREE Resource
Enhance your content in a minute
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
What is a C header file used for?
Storing data
Storing function definitions and macro declarations
Declaring main function
For file management
2.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
What is the extension for C header files?
.cpp
.hdr
.c
.h
3.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
What directive is used to include a header file in a C program?
#define
#include
#ifdef
#undef
4.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Which header file is required for using the printf() function?
stdlib.h
stdio.h
conio.h
math.h
5.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
What does the %d format specifier represent in printf()?
Floating-point number
String
Integer
Character
6.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
What will printf("%f", 3.14); output?
3.14
3
3.140000
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Which format specifier is used to print a character in C?
%s
%d
%f
%c
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
55 questions
Bài 11. Bài trình chiếu của em
Quiz
•
3rd Grade - University
52 questions
ИКТ ЖБ100
Quiz
•
University
47 questions
CSC 209 Graphics and Visual Computing MIDTERM EXAM
Quiz
•
University
50 questions
DDPTJKT - Latihan Soal Team
Quiz
•
10th Grade - University
50 questions
CAT - Gr 10 - Hardware & Software
Quiz
•
KG - University
55 questions
Computer Architecture and Organization
Quiz
•
University
50 questions
ICT (preparation)
Quiz
•
University
50 questions
FINAL-EXAM on Logical Algebra
Quiz
•
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
