C语言基础知识测验

C语言基础知识测验

University

30 Qs

quiz-placeholder

Similar activities

S03.1人工智能的发展与技术

S03.1人工智能的发展与技术

7th Grade - University

32 Qs

Simple Input

Simple Input

1st Grade - University

30 Qs

C语言基础知识测验

C语言基础知识测验

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

zaky zhang

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

在C语言中,哪个关键字用于定义整数变量?

浮点数

字符

整数

双精度

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

以下哪个是有效的整数常量?

123.45

"123"

123

123E2

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

在C语言中,short int类型通常占用多少字节?

1字节

2字节

4字节

8字节

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

哪个关键字用于定义单精度浮点变量?

double

float

int

long

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

以下哪个是有效的实常量?

3.14

3

'3.14'

"3.14"

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

在C语言中,double类型通常占用多少字节?

4字节

8字节

2字节

16字节

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

在C语言中,哪个关键字用于定义字符变量?

字符串

字符

字符型

chr

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?

Discover more resources for Computers