Session 03: Input & Output in C Programming Language

Session 03: Input & Output in C Programming Language

University

15 Qs

quiz-placeholder

Similar activities

Quiz Kelas 7

Quiz Kelas 7

7th Grade - University

15 Qs

Kiểm tra nhanh lớp 10

Kiểm tra nhanh lớp 10

10th Grade - University

10 Qs

TIN12 BÀI 3: MỘT SỐ THIẾT BỊ MẠNG THÔNG DỤNG

TIN12 BÀI 3: MỘT SỐ THIẾT BỊ MẠNG THÔNG DỤNG

12th Grade - University

10 Qs

Quiz on Basics of C

Quiz on Basics of C

University

10 Qs

DATA STRUCTUIR Quiz1 (AIML)

DATA STRUCTUIR Quiz1 (AIML)

University

20 Qs

Ôn tập tin học 3_HKII

Ôn tập tin học 3_HKII

3rd Grade - University

20 Qs

GDG ANDROID BOOTCAMP QUIZ

GDG ANDROID BOOTCAMP QUIZ

University

20 Qs

Linux - podstawy + polecenia konsoli

Linux - podstawy + polecenia konsoli

10th Grade - University

20 Qs

Session 03: Input & Output in C Programming Language

Session 03: Input & Output in C Programming Language

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Medium

Created by

academy rikkei

Used 66+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?