0% found this document useful (0 votes)
151 views3 pages

Fundamentals of Computer Programming Course

This document outlines the topics covered in a fundamentals of computer programming course, including basic concepts like variables, data types, expressions, decision making with if/else statements, looping with different kinds of loops, subroutines, debugging, arrays, classes, and working with files. The course covers writing, running, and debugging simple programs; processing different data types; taking user input and displaying output; and using control structures like conditionals and repetition to control program flow.

Uploaded by

Bace Fook
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
151 views3 pages

Fundamentals of Computer Programming Course

This document outlines the topics covered in a fundamentals of computer programming course, including basic concepts like variables, data types, expressions, decision making with if/else statements, looping with different kinds of loops, subroutines, debugging, arrays, classes, and working with files. The course covers writing, running, and debugging simple programs; processing different data types; taking user input and displaying output; and using control structures like conditionals and repetition to control program flow.

Uploaded by

Bace Fook
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

Fundamentals of Computer Programming course

BASIC CONCEPTS AND DEFINITIONS

• What is a Program?
• "Hello, world!"
• The Programming Process
• Program Files and Program Execution
• System Programs vs. Application Programs
• Input - Process - Output
• Programming Languages
• Compiler Errors vs. Runtime Errors
• Development Environments

WRITING SIMPLE PROGRAMS

• Reading Input
• Performing Numeric Calculations
• Formatting Output
• Decision Making
• Iteration
• Commenting Your Source Code
• Good Programming Style

DATA TYPES, CONSTANTS, AND VARIABLES

• A Program's Purpose is to Process Data


• Computer Memory
• Data Can Be of Different Types
• Named Data: Variables
• Literal Data
• Assignment
• Printing Variables

SCREEN OUTPUT AND KEYBOARD INPUT

• Writing to the Screen


• Characters That Have Special Meaning
• Some Simple Formatting
• Reading from the Keyboard
• Prompting and Validating

EXPRESSIONS

• Expressions: Where the Work Gets Done


• Expression Evaluation: The Result
• Arithmetic Expressions
• Relational Expressions
• Where are Relational Expressions Used?
• And? . . . Or?
• Precedence and Associativity

DECISION MAKING

• Sequential Execution
• What is Decision Making?
• Simple Decisions: if
• Two-Way Decisions: else
• Code Blocks
• Nesting Control Statements
• Multi-Way Decisions: switch

LOOPING

• Kinds of Loops
• Iterative Loops
• Code Blocks and Loops
• Nested Loops
• Conditional Loops
• Infinite Loops

SUBROUTINES

• Programming Without Subroutines


• Reusable Code in a Subroutine
• The Starting Point
• Variable Visibility: Scope
• Parameters
• Returning a Value
• Method Stubs
• Libraries

DEBUGGING

• What is Debugging?
• Commenting Out Code
• Simple Debugging with Print Statements
• Making Debugging Print Statements Conditional
• Programs that Help You Debug Programs

DATA COLLECTIONS - ARRAYS


• Scalar Data vs. Data Collections
• What is an Array?
• Accessing Array Elements
• Multidimensional Arrays
• Array Initialization

DATA COLLECTIONS - CLASSES

• What is a Class?
• Object vs. Class
• Accessing Object Members
• Using Arrays with Classes

WORKING WITH FILES

• Terminal I/O and File I/O


• Opening Files
• Opening a File for Writing
• Opening a File for Reading
• Checking for File Open Errors
• Closing a File
• Text Files vs. Binary Files

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy