C语言二级考试考点大概有哪些?有哪些是重点!正在备考本月的考级!累啊!求帮忙

是这样的,想请问一下,C语言二级考试考点大概有哪些?有哪些是重点!正在备考本月的考级!累啊!求帮忙
最新回答
无聊的下雨天

2024-11-29 08:59:29

笔试:软件技术基础部分30分,C语言部分70分
上机:用C语言编程,一道填空题,一道改错题,一道编程题

其中软件技术部分楼上已经说得很详细了。C语言部分的重点难点就是在循环(for,while等等),函数调用返回和数组、指针的运用。剩下考的都是每章的一些零散的知识点。
如果你还想要更具体的知识点我也不知道怎么给你说了。。。

建议:对于笔试应该去找点真题来做,不然等你真正考的时候看到题完全无从下手。其次上机题更要自己动手来做,在VC++里自己来编译,调试。推荐南开100题,百度文库里就有
呆萌没商量

2024-11-29 14:20:37

基础有数据库(8分)、数据结构(10分)、软件工程(8分)、程序设计(4分),分数大概是这样。C语言部分是重点,数组、指针、函数考的较多,其他差不多。
追问
首先谢谢你的回答!能不能说的具体点,我想要一些重点难点。
达阳云

2024-11-29 13:07:18

资料你要不,历年考题和公共基础知识
qq1130047030
爷是那么黑

2024-11-29 12:44:42

/*Calculating the height of a tree */
#include<stdio.h>

void main()

{
long shorty=0L; /*shorty's height in inches */
long lofty=0L; /*lofty'height in inches */
long feet=0L; /*A whole number of feet */
long inches=0L; /* A whole number of inches */
long shorty_to_lofty=0L; /* distance form shorty to lofty in iches */
long lofty_to_tree=0; /* distance form lofty to tree */
long tree_height=0; /* height of the tree in inches */
const long inches_per_foot=12L;

/* Get lofty's height */

printf("Enter lofty's height to the top of his/her head,in whole feet: ");
scanf("%d",&feet);
printf(" ........... and then inches: ");
scanf("%d",&inches);
lofty=feet*inches_per_foot+inches;

/*Get shorty's height up to his/her eyes*/
printf("Enter shorty's height up to his/her eyes,in whole feet: ");
scanf("%d",&feet);
printf(" ............ and then inches: ");
scanf("%ld",&inches);
shorty=feet*inches_per_foot+inches;

/*Get the distance from Shorty to lofty*/
printf("Enter the distance between Shorty and lofty,in whole feet: ");
scanf("%ld",&feet);
printf(" ............and then inches: ");
scanf("%ld",&inches);
shorty_to_lofty=feet*inches_per_foot+inches;

/* Get the distance from lofty to the tree*/
printf("Finally enter the distance to the tree to the nearest foot: ");
scanf("%ld",&feet);
lofty_to_tree=feet*inches_per_foot;

/*Calculate the height of the tree in inches */
tree_height=shorty+(shorty_to_lofty +lofty_to_tree)*(lofty-shorty)/shorty_to_lofty;

/*Display the result in feet and inches */
printf("The height of the tree is %ld feet and %ld inches.\n",
tree_height/inches_per_foot,tree_height%inches_per_foot);
getchar();

}
晴空如洗

2024-11-29 12:03:43

这一般不好考!!!