
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
37 questions
TIN 5 CĐ F

Quiz
•
5th Grade - University
40 questions
c-debugging

Quiz
•
University
41 questions
tin học 2

Quiz
•
University
35 questions
CHƯƠNG 5

Quiz
•
University
35 questions
2.2mo

Quiz
•
University
38 questions
logic học đại cương P1

Quiz
•
University
40 questions
Đề 1

Quiz
•
University
35 questions
PLDC Phần 2 - 65/200

Quiz
•
University
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
12 questions
Civil War

Quiz
•
8th Grade - University
18 questions
Parent Functions

Quiz
•
9th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
19 questions
Primary v. Secondary Sources

Quiz
•
6th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
20 questions
Disney Trivia

Quiz
•
University