Session 21 + 22: Advanced Type - Struct

Session 21 + 22: Advanced Type - Struct

University

19 Qs

quiz-placeholder

Similar activities

KTPM-GROUP-2

KTPM-GROUP-2

University

17 Qs

Ôn thi Tin học kì 2

Ôn thi Tin học kì 2

3rd Grade - University

17 Qs

Tin12_Kiểm tra thường xuyên sô1

Tin12_Kiểm tra thường xuyên sô1

12th Grade - University

15 Qs

ĐỀ CƯƠNG ÔN TẬP MÔN CÔNG NGHỆ KHỐI 3

ĐỀ CƯƠNG ÔN TẬP MÔN CÔNG NGHỆ KHỐI 3

4th Grade - University

16 Qs

Minigame CLB Tin học 20/10

Minigame CLB Tin học 20/10

University

15 Qs

Bài Quiz Chương 6

Bài Quiz Chương 6

University

20 Qs

KTTX_CĐ_B_Tin12

KTTX_CĐ_B_Tin12

12th Grade - University

20 Qs

Quiz KTCB & fun

Quiz KTCB & fun

University

15 Qs

Session 21 + 22: Advanced Type - Struct

Session 21 + 22: Advanced Type - Struct

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Medium

Created by

haibt@rikkei.edu.vn rikkei

Used 43+ times

FREE Resource

AI

Enhance your content in a minute

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

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Từ khóa nào được sử dụng để định nghĩa một cấu trúc trong C?

struct

class

union

typedef

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để truy cập một trường dữ liệu trong cấu trúc, ta sử dụng ký hiệu nào?

*

&

.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để truy cập một trường dữ liệu của cấu trúc thông qua con trỏ cấu trúc, ta sử dụng ký hiệu nào?

.

->

&

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cấu trúc có thể bao gồm các loại dữ liệu nào?

Kiểu dữ liệu nguyên thủy

Mảng

Con trỏ

Tất cả các loại trên

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để tạo một tên mới cho các kiểu dữ liệu có sẵn, ta sử dụng từ khóa nào?

typedef

define

alias

new

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Có thể khai báo con trỏ tới cấu trúc không?

a) Có

b) Không

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để khởi tạo một cấu trúc, cú pháp nào đúng?

a) struct StructName variableName = {value1, value2};

b) struct StructName variableName = (value1, value2);

c) struct StructName variableName = [value1, value2];

d) struct StructName variableName = {value1; value2};

Access all questions and much more by creating a free account

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

Already have an account?