Session 21 + 22: Advanced Type - Struct

Session 21 + 22: Advanced Type - Struct

University

19 Qs

quiz-placeholder

Similar activities

trắc nghiệm giữa kỳ 1 tin lớp 9

trắc nghiệm giữa kỳ 1 tin lớp 9

9th Grade - University

20 Qs

VÒNG 2  | CUỘC THI “HYBRID – TỰ HÀO VIỆT NAM”

VÒNG 2 | CUỘC THI “HYBRID – TỰ HÀO VIỆT NAM”

University

20 Qs

Revissão - Linguagem C (str, fun, stru, vt+mt,)

Revissão - Linguagem C (str, fun, stru, vt+mt,)

University

20 Qs

Kiểm tra kiến thức hệ thống thông tin

Kiểm tra kiến thức hệ thống thông tin

University

19 Qs

Chương 4. Viễn thông, Internet và Công nghệ không dây

Chương 4. Viễn thông, Internet và Công nghệ không dây

University

20 Qs

Session 08: Array

Session 08: Array

University

15 Qs

ÔN TẬP TH4 CK2

ÔN TẬP TH4 CK2

4th Grade - University

16 Qs

Quiz về Lập trình máy tính và Ngôn ngữ Python

Quiz về Lập trình máy tính và Ngôn ngữ Python

6th Grade - University

20 Qs

Session 21 + 22: Advanced Type - Struct

Session 21 + 22: Advanced Type - Struct

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Medium

Created by

academy rikkei

Used 37+ 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};

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?