Ziele- Define, initialize, and manipulate one-dimensional and two-dimensional arrays.
- Identify standard string-handling functions.
- Identify the features of pointers.
- Identify the relationship between pointers and arrays, array of pointers, pointer to an array, and arrays and functions as function arguments.
- Identify user-defined data types including structure, union, enum, and typedef.
- Identify the uses of structures with functions.
AnforderungenApplication developers, software engineers, and programmer/analysts are some of the types of people who will benefit from taking this course. Personnel expecting to design and implement new or maintain existing systems and applications in a corporate environment. People who learned C in college, but have not used it in a couple of years and need to retrain. Individuals who are skilled in another structured programming language (Pascal, FORTRAN, COBOL, etc.) and now need to learn C, possibly as a prerequisite to C++, and those who are experienced in the general process of application development. In addition, students should have taken the first part of this series (course 13201) prior to taking this course.
TitelKurs 13202 - C Programming - Part 2
InhaltCourse Overview
This course is the second in a four-part series that will give students the fundamental skills and knowledge necessary to be able to write syntactically correct C code, using the facilities of a standard ANSI C library, to create basic applications. This series is not environment or vendor-specific. In this course, students will learn about arrays, pointers, and user-defined data types.
Deployment Options
Self-Study
Accreditation
CEU credits: 0.70 CEUs
Objectives
Unit 1: Arrays 1 - 2 hours
- Specify the number of valid elements for a displayed one-dimensional array declaration statement.
- Identify the correct one-dimensional array initialization statement for a specified situation.
- Specify the statement to access an element from a one-dimensional array.
- Type a piece of code to pass an array as an argument to a function.
- Identify the output of a set of statements using the string-handling function strcpy with arguments.
- Identify the output of a set of statements that use the string-handling function strcmp with arguments.
- Identify the output of a set of statements using the string-handling function strcat with arguments.
- Identify the output of a set of statements using the string-handling function strlen with arguments.
- Specify the output of a set of statements using the string-handling function sscanf with arguments.
- Identify the output of a set of statements that use the string-handling function sprintf with arguments.
- Type the statement to declare a two-dimensional array for storing specified data.
- Identify the appropriate two-dimensional array initialization statement for a specified situation.
- Identify the output of a set of statements used to access an element of a two-dimensional array.
Unit 2: Pointers 1 - 2 hours
- Identify valid pointer declarations.
- Identify the correct pointer initialization statement for a specific pointer declaration.
- Identify the output of a specified set of statements involving pointer manipulation.
- Identify the relationship between an array and a pointer.
- Identify the output of a set of statements that involves pointer arithmetic.
- Identify the output of a set of statements that implements an array of pointers.
- Identify the output of a function that accepts a pointer as an argument.
- Identify the output of a function that returns a pointer.
Unit 3: User-Defined Data Types 2 hours
- Identify the statement that implements the typedef keyword.
- Identify the features of enumerated data type.
- Identify the code that implements the enumerated data type.
- Identify the features of a structure.
- Identify a structure declaration.
- Identify the declaration of a structure variable.
- Identify the statement that accesses a member of a specified structure.
- Identify the output of a function that accepts a structure as an argument.
- Identify the output of a function that returns a structure.
- Identify the features of unions.
- Identify a union declaration.
- Identify a union variable declaration.
Unit 4: C Preprocessor 2 hours
- Identify the advantages of including header files in a program.
- Identify the uses of the #include directive.
- Identify the uses of the #define directive.
- Identify the predefined macro for a specific purpose.
- Identify the output of a code sample that involves a macro call with arguments.
- Identify the code sample in which the #undef directive is effective.
- Identify the advantages of conditional compilation.
- Identify the conditional compilation directive to be used in a specific situation.
Course Access
Each student has access to the course for a period of 6 months from the day of enrollment in the course.
Ähnliche angebote die in bezug zu ihrer anfrage "programmierung" stehen