The National computer Grade examination level two C language Program Design Examination Outline (2013 edition)

Source: Internet
Author: User
Tags arithmetic bitwise

The National computer Grade examination level two C language Program Design Examination Outline (2013 edition)

Transferred from: http://www.freencre.com/c2_artde_28.html

Basic requirements

1. Be familiar with visual c++6. 0 integrated development environment.

2. Master the method of structured programming, with good program design style.

3. Master the simple data structure and algorithm in the program design and can read the simple program.

4. In Visual C++6. 0 integrated environment, the ability to write simple C programs, and basic error correction and debugging procedures.

Exam Content

  Structure of a C language program

1. The composition of the program, main function and other functions.

2. header file, data description, function start and end flags, and comments in the program.

3. The writing format of the source program.

4. C-language style.

  Ii. data types and their operations

1. The data type of C (basic type, constructed type, pointer type, no value type) and its definition method.

2. Type of c operator, operation Precedence, and binding.

3. Conversion and operation between different types of data.

4. C Expression type (assignment expression, arithmetic expression, relational expression, logical expression, conditional expression, comma expression), and evaluation rule. Class two examination of the public basic knowledge of the outline and the sample title of the higher Education Press published the National Computer Grade examination two-level tutorial-Public Basic Knowledge (2013 edition) of the appendix.

  Three, the basic statement

1. Expression statements, empty statements, compound statements.

2. Input and output function calls, correctly input data and correctly design the output format.

  IV. selection of structural programming

1. Use the IF statement to implement the selection structure.

2. Use the switch statement to implement the multi-branch selection structure.

3. Select the nesting of the structure.

  V. Design of cyclic structure

1. For loop structure.

2. While and Do-while loop structure.

3. Continue statement and break statement.

4. Looping the nesting.

  Vi. definitions and references to arrays

1. Definition, initialization, and reference of array elements for one-dimensional and two-dimensional arrays.

2. String and character array.

  Seven, function

1. Correct invocation of the library function.

2. Methods for defining functions.

3. The type and return value of the function.

4. Formal parameters and real parameters, the transfer of parameter values.

5. Proper invocation of function, nested invocation, recursive invocation.

6. Local variables and global variables.

7. Variable Storage categories (auto, static, register, external), scope and lifetime of variables.

  VIII. compilation preprocessing

1. Macros are defined and called (Macros without parameters, macros with parameters).

2. "The document contains metallurgical processing.

  Nine, the pointer

1. The concept of address and pointer variables, the address operator and the site operator.

2. The address of one-dimensional, two-dimensional arrays and strings, and the definition of pointer variables that point to variables, arrays, strings, functions, and structs. Refer to each of these types of data by pointers.

3. Use pointers as function parameters.

4. Function that returns the value of the address.

5. Pointer array, pointer to pointer.

  X. structure and community (i.e. "union")

1. Use a typedef to describe a new type.

2. Definitions of struct and common body type data and references to members.

3. Through the structure form the chain list, the establishment of the unidirectional linked list, the output, deletion and insertion of the node data.

  Xi. bitwise arithmetic

1. The meaning and use of the bitwise operator.

2. Simple bit operation.

  12. File operation

Only buffer file systems (that is, advanced disk I/O systems) are required and are not required for non-standard buffered file systems (that is, low-level disk I/O systems).

1. Document type pointer (file type pointer).

2. Open and close the file (Fopen,fclose).

3. File read/write (application of fputc,fgetc,fputs,fgets,fread,fwrite,fprintf,fscanf function), file location (application of Rewind,fseek function).

Test method

On the computer test, the exam is 120 minutes long, out of 100.

Types and Scores

The single choice question 40 points (including the public basic knowledge Part 10 points), the operation question 60 points (includes the blank question, the correct question and the programming question).

Test environment

Visual c++6. 0.

Transferred from: http://www.freencre.com/c2_artde_28.html

The National computer Grade examination level two C language Program Design Examination Outline (2013 edition)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.