
Trắc nghiệm C tt

Quiz
•
Other
•
University
•
Medium
Nguyễn Ngọc Dũng
Used 1+ times
FREE Resource
39 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn code sau: int i; for(i=0; i0; i--); printf("Done");
Done in sau khi vòng lặp kết thúc
Done in 5 lần
Không in gì
Lỗi
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Vòng lặp nào kiểm tra điều kiện trước khi chạy?
for, while
do...while
Cả A và B
Không vòng nào
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
while(0) sẽ:
Không chạy lần nào
Chạy 1 lần
Lặp vô hạn
Báo lỗi
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả: int i=0; while(i5) printf("X"); else if(a>2) printf("Y"); else printf("Z");
X
Y
Z
Không in gì
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Nếu if không có {} thì:
Chỉ câu lệnh ngay sau if được thực thi có điều kiện
Tất cả câu lệnh sau if được thực thi
Báo lỗi
Chạy ngẫu nhiên
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
switch chỉ so sánh với:
Giá trị nguyên hoặc ký tự
Chuỗi
float
Con trỏ
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả: int x=2; switch(x){ case 1: printf("One"); case 2: printf("Two"); case 3: printf("Three"); }
TwoThree
Two
Three
OneTwoThree
Create a free account and access millions of resources
Similar Resources on Wayground
40 questions
Bài PST 2

Quiz
•
University
43 questions
PLDC

Quiz
•
University
37 questions
Lí GK2

Quiz
•
8th Grade - University
35 questions
Chương 1 PLĐC

Quiz
•
University
44 questions
40 câu đầu TRIẾT HỌC ?

Quiz
•
University
42 questions
ôn tập tin

Quiz
•
University
37 questions
logic học đạu cương p2

Quiz
•
University
43 questions
K dạ dày

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