Home | Contact Us | Site Map | Search     

Johns Hopkins University Logo

Center for Talented Youth

En Español   

New Here? | MyCTY Login | Apply | Alumni

Male Student Outdoors on Laptop
A group of CTYers walking on JHU campus
Home > CTYOnline > Computer Science and Technology
Introduction to C Programming I

Detailed Course Information

Introduction

  • Objects and overview of the course
  • What is C? The development of the computer languages
  • The development of C
  • The compilation and linking process
The Compiler
  • Getting started: Installing the compiler and creating a new folder
  • Running the “Hello World” program
  • Running the “Hello You” program
  • The compilation and linking process
Fundamentals of C
  • The structure of C programs
  • The general structure
  • The statement sin main
  • Data Types: Integer, Boolean
  • Variables – Names, declarations
  • The assignment operator
  • Expressions – Arithmetic, Boolean
  • Arithmetic expressions
  • Operands and operators
  • Constructing complex expressions with operands
  • The expressions in the addMul program
  • Boolean expressions
  • Simple input and output
  • Summary
Basic Control Statements
  • The if statement
  • Basic if statements
  • If/Else statements
  • Multiline if statements
  • The ?: operator
  • Cascading if statements
  • Structure and operation
  • The if/else blocking rule
  • The switch statement
  • The while statement
  • How do loops operate?
  • While loops – structure and operation
  • Abbreviations
  • Using sentinel values
  • A different approach – infinite loops
  • Drawing Circles
  • The for statement
  • For loops – structure and operation
  • Nested for loops
  • Evaluation of Boolean expressions in C
  • Summary – Part 1
  • Summary – Part 2
The Computer Behind the Scenes
  • Hardware – 7.1.1 Components
  • Basic if statements
  • Memory
  • C.P.U.
  • I/O devices
  • Secondary storage devices
  • A historical point of view
  • Software
  • Computer languages
  • Summary – The general picture
Data Types, Constants, Algorithms and Output Displays
  • Constants
  • The floating point data type
  • Problem solving – algorithms and the flow of charts
  • The quadratic equation
  • Problem solving – algorithms and the flow of charts
  • GCD – The brute force way
  • Problem solving – algorithms and the flow of charts
  • GCD- Euclid’s algorithm
  • Flow Charts
  • The string data type – Definition
  • Simple operations with strings
  • Controlling the out display
Computer Science and Technology

©The Johns Hopkins University. Baltimore, Maryland. All rights reserved.
CTY is accredited for grades 5 through 12 by the Commission on Secondary Schools of the Middle States Association of Colleges and Schools.

Center for Talented Youth -- A world leader in gifted education
5801 Smith Ave #400 McAuley Hall, Baltimore, Maryland 21209
Phone: 410 735-4100 / 410 735-6200 / Email: ctyinfo@jhu.edu

Privacy Statement

Divider

Get Adobe Reader

Best viewed at
1024 x 768 or higher resolution.