C Programming - Part 2

C Programming

Serebra Learning Corporation
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.
This is primarily online training
on-line e-learning cbt (computer based)This is an online eLearning or CBT training program
Duration:8 hours
Training Presented in:English
Training Provided by Serebra Learning Corporation
C Programming - Part 2
Course Outline - NGE13202 - C Programming - Part 2

C Programming - Part 2

Course Code NGE13202

Contents

  1. Contents
  2. Description
  3. Audience
  4. Prerequisites
  5. Objectives
  6. Topics Include
  7. Duration
  8. Minimum Requirements
  9. Media

Screenshot


click to enlarge

Description

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.

Audience

Application 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.

Prerequisites

(Currently no course prerequisite information)

Objective



  • Define, initialize, and manipulate unidimensional and two dimensional arrays.

  • Identify standard stringhandling 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 userdefined data types including structure, union, enum, and typedef.

  • Identify the uses of structures with functions.



Topics Include

Unit 1: Arrays

  • Identify the features of an array.
  • 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

  • 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

  • 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

  • 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.

Duration

8

Minimum Requirements

The CDROM version of this course requires:

  • At least a 486DX 33Mhz CPU.
  • Microsoft Windows 3.1 or higher and a Microsoft compatible mouse.
  • At least 8MB RAM.
  • At least VGA graphics capability with a minimum 512K video RAM (1MB video RAM recommended).
  • At least a double speed CDROM drive.
  • An MPC compliant sound card with attached speakers or headphones is recommended (Currently, only the CDROM version supports audio).
The network version of this course requires:
  • At least a 486DX 33Mhz CPU.
  • Microsoft Windows 3.1 or higher and a Microsoft compatible mouse.
  • At least 8MB RAM and 22MB available hard disk space or file server space.
  • At least VGA graphics capability with a minimum 512K video RAM (1MB video RAM recommended).

Media

Web Based Training

Serebra Learning Corporation, 1660 - 999 W Hastings St, Vancouver, BC, Canada   V6C 2W2
Tel: (604) 676-5480 or 1-800-567-7766 - Fax: (604) 676-5490
E-Mail: sales@serebra.com - Web Site: www.serebra.com
About The Training Provider: Serebra Learning Corporation
Serebra Learning Corporation - Serebra Learning Corporation provides technology-based training solutions through a combination of Cortex, its proprietary learning management system (LMS), and a curriculum catalog with over 1, 825 current courseware titles. Founded in 1987 (as FirstClass Systems, with a name change to Serebra in 2001), Serebra has over sixteen years" experience delivering e-learning solutions to both...
tcw11-v473M-08/24/11-20:57:45-()[A]-[A]-[B] -11:52:19