
Quizzuizui
Authored by Vũ Phong
Computers
Professional Development
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Số cách để khai báo biến kiểu cấu trúc?
1
2
3
4
Answer explanation
1 là :
struct <tên_kdl> <tên_biến>;
2 là :
struct <tên_kdl>{
....
....
....
}<tên_biến>;
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Đâu KHÔNG PHẢI là đặc điểm của kiểu dữ liệu cấu trúc
Kiểu dữ liệu của các trường dữ liệu có thể khác nhau
Dữ liệu luôn được lưu trữ liên tục
Là kiểu dữ liệu người dùng tự định nghĩa
Là nhóm của các thành phần dữ liệu
Answer explanation
Do kiểu dữ liệu cấu trúc có thể lưu trữ nhiều kiểu dữ liệu khác nhau nên xảy ra trường hợp dữ liệu không được lưu trữ liên tục.
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Đâu là định nghĩa một kiểu cấu trúc?
struct {int a;}
struct a_struct {int a;}
struct a_struct int a;
struct a_struct {int a;};
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Kết quả của chương trình sau là gì?
20
18
32
24
Answer explanation
Trong quá trình cấp phát, cỡ của một biến int là lớn nhất, tức là 4 byte. Vậy nên bộ nhớ sẽ cấp phát bội lần của 4 byte. Có 20 là vừa đủ để chứa lượng biến ta khởi tạo.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cho khai báo kiểu cấu trúc sau.
Để khai báo mảng cấu trúc 100 phần tử ta cần dùng khai báo nào?
arr[100] of struct hoc_sinh;
struct arr[100] hoc_sinh;
struct hoc_sinh arr[100];
struct hoc_sinh arr[i];
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Kết quả của chương trình sau là gì?
0 1000 4000
0 1000 2000
Đáp án khác.
Chương trình bị lỗi.
Answer explanation
Chương trình sẽ in ra giá trị của thành phần soluong của 3 phần tử đầu của mảng cấu trúc ds.
Tức là 0 1000 4000.
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cú pháp truy cập một thành phần của biến cấu trúc abcd?
abcd->var;
abcd.var;
abcd *var;
abcd-var;
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Buổi 1
Quiz
•
Professional Development
10 questions
L6 Bài 16 Cấu trúc điều khiển
Quiz
•
Professional Development
10 questions
Bài 19. Tạo và làm việc với bảng
Quiz
•
Professional Development
10 questions
Đố vui 2
Quiz
•
8th Grade - Professio...
10 questions
BAI 3 K12 (TT)
Quiz
•
Professional Development
10 questions
Agile Course_Week 1 challenges
Quiz
•
Professional Development
11 questions
Bài 7 - Công cụ Brush cơ bản, Eraser Tool, châm màu trong Photos
Quiz
•
Professional Development
12 questions
Variable, DataType and Operators
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
15 questions
LOTE_SPN2 5WEEK3 Day 2 Itinerary
Quiz
•
Professional Development
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
42 questions
LOTE_SPN2 5WEEK2 Day 4 We They Actividad 3
Quiz
•
Professional Development
6 questions
Copy of G5_U6_L3_22-23
Lesson
•
KG - Professional Dev...
20 questions
Employability Skills
Quiz
•
Professional Development