Search Header Logo

计算机程序设计第一二章

Authored by zaky zhang

Computers

University

Used 2+ times

计算机程序设计第一二章
AI

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

30 sec • 1 pt

C语言源程序文件的后缀是

.b

.visual c

.c

.a

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

一个C语言源程序由若干函数组成,其中至少应包含有一个

主函数(main函数)

声明部分

注释部分

输入输出语句

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

已知字符A的ACSII码值为65,以下语句的输出结果是:

char ch=‘B’;

printf(“%c %d\n”,ch,ch);

B 66

66 B

B 65

63 B

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

一个良好的程序,无论多么复杂,都可以由三种基本结构组成,分别是?

顺序结构

逻辑结构

循环结构

结构化程序

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

若有语句

int i=-19,j=i%4;

printf("%d\n",j);

则输出的结果是

-1

-2

-3

-4

6.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

int x;

x=23/4;

请问x的值是?

(a)  

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

设x和y均为int型变量,且x=1;y=2;则表达式1.0+x/y的值为

1或1.0

1.5

0

0.5

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?