0% found this document useful (0 votes)
8 views10 pages

C++ Problem Solving Fundamentals Guide

This document outlines topics for fundamentals of computer problem solving using C++ programming language. It covers introduction to programming, problem solving process, basic elements of a computer program including variables, data types, operators, and program structure. It also discusses selection and repetition control structures, functions, arrays, and file input/output.

Uploaded by

AREE
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views10 pages

C++ Problem Solving Fundamentals Guide

This document outlines topics for fundamentals of computer problem solving using C++ programming language. It covers introduction to programming, problem solving process, basic elements of a computer program including variables, data types, operators, and program structure. It also discusses selection and repetition control structures, functions, arrays, and file input/output.

Uploaded by

AREE
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

FUNDAMENTALS OF COMPUTER PROBLEM

SOLVING
C++ PROGRAMMING LANGUAGE
▪ Topic 1: Introduction
▪ Topic 2: Basic Elements of Computer Program
▪ Topic 3 : Selection Control Structure
▪ Topic 4 : Repetition Control Structure
TOPICS
▪ Topic 5: Function
▪ Topic 6: Array
▪ Topic 7 : File Input / Output
▪ A Brief History of Computer and Programming Language
▪ Introduction to Programming
Topic 1 : ▪ Program Development Life Cycle
Introduction
▪ Problem Solving Process
▪ Identifier, variable, constant
▪ Data variables, basic data types , reserved word and
rules for naming and declaring data variables

▪ Basic data types


▪ Five Arithmetic operators
▪ Assignment statement
Topic 2 :
Basic Elements of Computer ▪ Predefined functions
Program
▪ Input statement
▪ Output statement
▪ C++ program structure
▪ Programming process, debugging and error handling
▪ Boolean values
▪ Condition
▪ One-way selection
Topic 3 : ▪ Two-way selection
Selection Control Structure
▪ Multiway selection
▪ Nested-if
▪ switch – case structure
▪ Introduction
▪ Relational operators
▪ Logical operators
▪ Requirement – Loop Control Variable & Loop Condition
• while loops
Topic 4 : • Counter-controlled loop
Repetition Control Structure
• Sentinel-controlled loop

▪ for loops
▪ do…while loops
▪ Nested loop
▪ Introduction to function
▪ Predefined function
▪ User defined function
▪ Function Call
Topic 5 : ▪ Function Definition
Function ▪ Function Prototype
▪ Value-Returning Function
▪ Void Function
▪ Value and Reference Parameter
• Definition of an array
• Declare and initialize an array
• Accessing individual elements of an array
• Input/output of an array
Topic 6 : • Array operations – summation, minimum, maximum etc
Array
• Some restrictions in array operations
• Searching element in an array
• Passing array to function
• Character arrays
• Introduction to File Input/Output
Topic 7 : ● Processing using File – read from file and write on file
File Input / Output
● Debug and execute sample program that used file
input/output
● Solve a problem by using file
▪ Malik, D.S., C++ Programming: From Problem Analysis
to Program Design, 7th Edition, Course Technology,
2014, ISBN-13: 978-1285852744.

Recommended Textbook
▪ Y. Daniel Liang, Introduction to Programming with C++,
3rd Edition, Pearson Higher Education, 2013, ISBN-13:
978-0133252811

You might also like