
Session 03: Input & Output in C Programming Language

Quiz
•
Information Technology (IT)
•
University
•
Medium
academy rikkei
Used 34+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào trong C được sử dụng để in ra màn hình?
A. scanf()
B. gets()
C. printf()
D. puts()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào trong C được sử dụng để nhận đầu vào từ người dùng?
A. printf()
B. scanf()
C. gets()
D. puts()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Toán tử nào được sử dụng để lấy giá trị đầu vào từ người dùng và lưu vào biến trong C?
A. >>
B. <<
C. &
D. *
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong hàm printf(), định dạng nào được sử dụng để in ra một số nguyên?
A. %d
B. %f
C. %c
D. %s
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong hàm scanf(), định dạng nào được sử dụng để đọc vào một số thực?
A. %d
B. %f
C. %c
D. %s
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để in giá trị của biến x có kiểu số nguyên, cú pháp đúng của hàm printf là gì?
A. printf("%c", x);
B. printf("%d", x);
C. printf("%s", x);
D. printf("%f", x);
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Định dạng nào được sử dụng trong hàm printf() để in ra một ký tự đơn lẻ?
A. %d
B. %f
C. %c
D. %s
Create a free account and access millions of resources
Similar Resources on Wayground
18 questions
CHỦ ĐỀ 1 LỚP 6 P2

Quiz
•
6th Grade - University
16 questions
DB05- View_Index

Quiz
•
University
10 questions
Basic C Programming

Quiz
•
University
18 questions
Quizz về SQL Injection

Quiz
•
University
15 questions
Bài 28

Quiz
•
10th Grade - University
14 questions
Session 02: Variable - Data types - Operators

Quiz
•
University
18 questions
Session 06: Loop

Quiz
•
University
11 questions
Session 01: C Programming Language Introduction

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University