In C language, “printf” command is used to display any message or output to the screen. The format of printf is:

C Programming Tutorial 1 (Chapter 2)

Quiz
•
Professional Development
•
Professional Development
•
Medium
Anna Sukri
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
printf{"The text to be displayed"};
printf(“The text to be displayed”);
printf<"The text to be displayed">;
printf["The text to be displayed"];
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
______ is a command to display any message or output to the screen.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This symbol in flowchart refers to:
Data input
Process
Start / End
Arrow
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Programmer types or creates program in a editor.
TRUE
FALSE
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the standard library for input/output functions?
<math.h>
<string.h>
<stdio.h>
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Use putchar command to prints a _________ to the screen
character
string
number
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the function of curly braces {…} in the program?
As a comment in a program
The start and end of a function
To document a program
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Budget System

Quiz
•
Professional Development
16 questions
UC_TM03_Arrays_Functions

Quiz
•
University - Professi...
18 questions
GOOGLE ADS - TEST

Quiz
•
Professional Development
20 questions
TAYL - Product Quiz

Quiz
•
Professional Development
20 questions
Prelims-Aptitude&C

Quiz
•
Professional Development
11 questions
Scrum PSD

Quiz
•
Professional Development
10 questions
C Structures

Quiz
•
Professional Development
16 questions
UC_TM02_C Programming Basics

Quiz
•
University - Professi...
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade