Preview

Lecture 1 Introduction Copy

Powerful Essays
Open Document
Open Document
1329 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Lecture 1 Introduction Copy
CS242 computer Programming
T.Fatimah Al-Qahtani

Details

• Textbook:
• C++ How to Program, DETITEL & DEITEL, eighth(or) seventh edition.

2

• Website :
• http://cpp242.wordpress.com

3

• Contact me :
1- office Hours :
Sunday from ( 12:30 to 3:30 p.m.)
Monday from ( 2:30 to 3:30 p.m. )
Wednesday from ( 2:30 to 3:30 p.m. )

4

• E-mail :
• Fatma.pnu@Hotmail.com

5

Evaluation

Grade

Date

Midterm1

10 %

(on 18-5-1436
M2) (on 17-51436 M1)

Midterm2

15 %

(on 1-7-1436 M2 /
30-6-1436 M1)

Lab

20 %

Participation and
Attendance

5%

Final lab

10 %

Final

40 %

6

Lab Grades
Evaluation

Grade

Date

Evaluations

5%

Weeks 8 & 12

Homework

10 %

Lab Quiz

5%

Week 9 ( After
Vacation )

7

Topics
Topics to be covered
Introduction
Data types, variables, values, assignment
Sequence, iteration, branching statements
Functions
Arrays
Pointers
8

Introduction

9

Computer
Device capable of performing computations and making logical decisions.

Hardware

Software
- Computer programs.
Programs
that run computer.

on

- Program is a sequence of instructions, written to perform a specified task with a computer.

-It is any physical device, something that you are able to touch. - Various devices comprising computer, E.g. (Keyboard, disks, memory, CD-ROM, processing units). 10

Programming Languages
 Used to write sequence of instructions that instruct computers to perform specific tasks.

 Some are directly understandable by computers.
 Others require intermediate translation steps.
• Three types of Computer Languages:

1) Machine language.
2) Assembly language.
3) High-level languages.

11

1)

Programming Languages
Machine
language
(cont.)
• Instruct computers to perform elementary operations.
• Generally consist of strings of 0s and 1s.
• Only language computer directly understands.
• “ Natural language ” of computer.
• Cumbersome for humans.
• Too slow, tedious and error prone for most programmers.

Example:
Adding overtime pay to base pay and storing

You May Also Find These Documents Helpful

  • Good Essays

    This is our first individual assignment for Programming unit this semester. This assignment was given in December 2013, and submission date is on 10th February 2014.…

    • 1859 Words
    • 8 Pages
    Good Essays
  • Satisfactory Essays

    CIS 2010 Final exam copy

    • 4436 Words
    • 102 Pages

    In an information systems implementation, which of the following would be the most disruptive to an organization?…

    • 4436 Words
    • 102 Pages
    Satisfactory Essays
  • Powerful Essays

    a. First panel – Likely Adam and Eve with God, a few animals, serene, Eden.…

    • 1380 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    Course Notes

    • 898 Words
    • 4 Pages

    1. The transfer of tissue or an organ between two people who are not related is called?…

    • 898 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Study Guide Lesson 1

    • 5830 Words
    • 24 Pages

    Dostoyevsky seems to want us to feel disdain for Marmeladov. This is a man who has a wife and children who depend on him at home and yet he sold his wife’s shawl and stockings to buy drinks at the tavern. The author makes a point of telling us that…

    • 5830 Words
    • 24 Pages
    Good Essays
  • Satisfactory Essays

    The major characteristics of liquids are: have a definite volume and have the ability to…

    • 676 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Chapter 7 lecture notes

    • 391 Words
    • 2 Pages

    Four kinds of useful information about a set of data: center, variability, shape and outlier…

    • 391 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    K201 Lecture portion

    • 706 Words
    • 3 Pages

    According to Michael Porter all firms and businesses engage in one of the four competitive strategies, those four strategies are: Lower cost across the industry, Lowest cost within an industry segment, Better product/service across the industry and Better product /service within an industry segment. Among the four competitive strategies aTiM engages in focusing within the industry segment by offering a specific type of product within the framework of art. For example, aTiM does not provide products/services for all types of artwork but focuses on ceramics, textiles and photography. aTiM also serves the Bloomington area supporting those artist from within the community and not across the country making their consumer base and artist base segmented from the rest of the art industry nationwide. This business strategy helps aTiM focus in developing their artists’ skills in order to make artwork that dominates this particular market both in a sense of the type of art that is produced as well to where the art is sold. If aTiM selects a cost strategy rather than a differentiation strategy, they would have to lower the cost of the artwork they are currently selling. However, doing so will greatly damage the revenue source for aTiM.. In addition, differentiating their services does not only have to refer to customers but also artist. Whether the artist is local or is from out of town, once aTiM provides best services for artwork promotion, low service rates will lead to a higher rate of artworks sold with more and more artist wanting to join the aTiM team, resulting in high profit margins for aTiM. With more artists wanting to team up with aTiM they will then have the ability to spend less on paying their artists, lowering their overall costs.…

    • 706 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    1. Provide examples of resources that are temporarily restricted as to: (a) purpose; (b) time; and (c) the occurrence of a specific event. Provide an example of permanently restricted resources.…

    • 295 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Sample Course File

    • 840 Words
    • 7 Pages

    Amplitude Modulation Systems: Frequency translation, recovery of base signal, amplitude modulation, maximum allowable modulation, square law demodulator, spectrum of AM signal modulators, balanced modulator, single sideband, vestigial sideband and compatible single sideband system, multiplexing.…

    • 840 Words
    • 7 Pages
    Satisfactory Essays
  • Good Essays

    Lecture 4

    • 1852 Words
    • 29 Pages

    of product at the right time. The goal is to reduce WIP (work-inprocess) inventories to an absolute minimum.…

    • 1852 Words
    • 29 Pages
    Good Essays
  • Satisfactory Essays

    Lecture Review

    • 594 Words
    • 3 Pages

    Nowadays, we can see many real examples of the fact that Corporations which only concern about its profit and advantages rather than other social responsibilities are changing their strategies or they cannot stay long in the market place. However, because ethical behavior is not easy to achieve naturally or automatically, there are more concern about specific policies for a company to set up its own ethical standard or in other words set up a Code of ethics. According to the definition given in the lecture, Codes of Ethics or Code of Conduct are voluntary statements that commit organizations, industries or professions to specific beliefs, values and actions and set out appropriate ethical behavior for employees. Today, it is not unique that whenever a business is launched, it is necessary for its owner or a board of owners to adopt a specific list of codes of ethics which will be followed by all of its employees. In this essay I would like to use Apple as an example to illustrate how corporate concern about the important role of setting its Code of Ethics in marketing its image as well as how to implement its Code of ethics in reality.…

    • 594 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    DD LECTURE S3 holders copy

    • 3122 Words
    • 33 Pages

    BOARD REGULATION NO 1, SERIES 2014 Reorganization of the Philippine Drug Enforcement System The Dangerous Drugs Board (DDB) as the policy and strategy formulating body. The Philippine Drug Enforcement Agency (PDEA) as its implementing arm.…

    • 3122 Words
    • 33 Pages
    Satisfactory Essays
  • Satisfactory Essays

    First Lecture1

    • 899 Words
    • 4 Pages

    Basis for competition on a more strategic level rather than traditional focus on product features and costs…

    • 899 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    AND CLASSROO M MANAGEM ENT What To Look For in a Classroom Excerpts from the Schools Our Children Deserve By Alfie Kohn MIND 1. 2. 3. 4.…

    • 673 Words
    • 10 Pages
    Good Essays