
Trắc nghiệm lập trình cơ sở C

Quiz
•
Other
•
University
•
Hard
Hung Phuc
Used 5+ times
FREE Resource
125 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Tên nào đặt sai quy định của C:
Giai_Phuong_Trinh_Bac_2
GiaiPhuongTrinhBac2
GPTB2
Giai Phuong Trinh Bac 2
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. Tên nào đặt sai quy định của C:
HaiBien
TwoVariant
2Bien
Hai_Bien
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. Biểu thức 21/ 5 + 6/5.0*4 có giá trị là:
8
8.2
8.8
9
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. Biểu thức: 21/4*4 + 6/4.0 có giá trị là:
21
21.5
22.5
22
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. Khi chạy đoạn chương trình: char St[80], St1[80];
strcpy( St, “123”);
strcpy( St1, “456”);
strcpy( St1, St);
printf( “%s”, St1);
Kết quả hiện ra màn hình là:
123
579
456
123456
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. Kết quả của câu lệnh :
printf("%c", ( 'B'+ 32 ));
Báo lỗi do câu lệnh sai
B
b
98
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. Khi chạy đoạn chương trình :
float a, b, c, N ;
N = 546;
a = N / 100;
b = (N % 100) / 10;
c = (N % 100) % 10;
printf(“%d”, a+b+c);
Kết quả hiện ra màn hình là:
15
546
5
Chương trình báo lỗi
Create a free account and access millions of resources
Similar Resources on Wayground
130 questions
Quiz về Thể dục thể thao

Quiz
•
University
127 questions
Câu hỏi trắc nghiệm kinh tế chính trị

Quiz
•
University
127 questions
Câu hỏi về Hệ thống Thông tin

Quiz
•
University
124 questions
Câu Hỏi Ôn Tập Quản Lý

Quiz
•
University
123 questions
Kiến thức Tâm lý học

Quiz
•
University
130 questions
Câu Hỏi Trắc Nghiệm Công Nghệ Thông Tin

Quiz
•
University
124 questions
lý thuyết oto chương 1+2+3 trắc nghiệm

Quiz
•
University
128 questions
Triết chương 2

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 Other
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