0% found this document useful (0 votes)
24 views

CS161: Introduction To Computer Science I: Week 1

This document provides an overview of CS161: Introduction to Computer Science I course. The course aims to introduce fundamental concepts of computing through problem solving, algorithm design, and programming. It emphasizes reliable and efficient program development. Students will be assessed through assignments, projects, midterm and final exams. Topics covered include introduction, simple programs, functions, repetition, strings, arrays, structures, and working with external files.

Uploaded by

Vuong Phan Thi
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)
24 views

CS161: Introduction To Computer Science I: Week 1

This document provides an overview of CS161: Introduction to Computer Science I course. The course aims to introduce fundamental concepts of computing through problem solving, algorithm design, and programming. It emphasizes reliable and efficient program development. Students will be assessed through assignments, projects, midterm and final exams. Topics covered include introduction, simple programs, functions, repetition, strings, arrays, structures, and working with external files.

Uploaded by

Vuong Phan Thi
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
You are on page 1/ 31

CS161: Introduction to Computer Science I

Week 1

10/2020
Course description

Introduction to fundamental concepts


of computer science. Problem solving,
algorithm and program design, data types,
control structures, subprograms.

10/12/2020 Nguyễn Hải Minh 2


Objectives
❑ Introduce to the fundamental concepts of
computing
❑ Emphasize problem solving, the design of
algorithms for solutions, and the translation of
tested algorithms into the grammar of a high-
level computer language.
❑ Encourage students to develop a consistent
programming style and a systematic method of
internal program documentation.
This course is not just
a programming or C++ class!
10/12/2020 Nguyễn Hải Minh 3
Objectives(cont)
❑ This course introduces the
software life cycle along with
the goals of systems design
❑ Reliable, modifiable,
understandable, and efficient
program development is
emphasized.
❑ Students gain experience with
design notations using data
flow diagrams and structure
charts.

10/12/2020 Nguyễn Hải Minh 4


Exams and Marking
❑ Assignments: 20% (lab 10%, quiz 10%)
❑ Projects: 15%
❑ Mid-term exam : 25% (lab 10% + theory 15%)
❑ Final exam: 50% (lab 10% + theory 40%)
❑ Students are not allowed to cheat in every
assignments, tests, examinations. You will be
grade 0 for the whole course if you are
caught cheating.

10/12/2020 Nguyễn Hải Minh 5


❑ C++ Primer Plus, Stephen Prata, SAMS.
Books and ❑ Absolute C++, Sixth Edition, by Walter Savitch,
Addison Wesley.
references ❑ The C++ Programming Language, Bjarne
Stroustroup.

Nguyễn Hải Minh 10/12/2020 6


✓ Topic #1: Introduction
✓ Topic #2: A simple program
✓ Topic #3: Using Math Library
✓ Topic #4: Selective Execution and
Logical Operations

Topics covered ✓ Topic #5: Functions


✓ Topic #6: Repetition
✓ Topic #7: String and Arrays
✓ Topic #8: Structures
✓ Topic #9: Working with External
Files
10/12/2020 Nguyễn Hải Minh 7
What is a
computer?

A computer is an electronic
device that accepts
information and instructions
from a user, manipulates the
information according to the
instructions, displays the
information in some way,
and stores the information
for retrieval later.

10/12/2020 Nguyễn Hải Minh 8


Types of computer
❑ Personal computers (PCs)
❑ Desktop computers
❑ Notebook (laptop) computers
❑ Tablets
❑ PDA (personal digital assistant)
❑ Mainframe computers
❑ Supercomputers
❑ …

10/12/2020 Nguyễn Hải Minh 9


Types of computer

10/12/2020 Nguyễn Hải Minh 10


Computer Systems
❑ Includes computer hardware and software
o Hardware refers to the physical components of a
computer
o Software refers to the intangible components of a
computer system, particularly the programs, or lists of
instructions, the computer needs to perform a specific
task
❑ The design and construction of the hardware of a
particular computer is referred to as its
architecture or configuration
❑ The technical details about each component are
called specifications

10/12/2020 Nguyễn Hải Minh 11


Computer Configuration & Specification

10/12/2020 Nguyễn Hải Minh 12


Processing Hardware

❑ The motherboard is the main


electronic component of the
computer (circuit board)
❑ The microprocessor is one
of the most important pieces
of processing hardware on
the motherboard
❑ Cards are removable circuit
boards
10/12/2020 Nguyễn Hải Minh 13
Input and Output
❑ The data or instructions you type into the
computer are called input
❑ The result of the computer processing your
input is referred to as output
❑ Peripheral devices accomplish input and
output functions

10/12/2020 Nguyễn Hải Minh 14


Input
Devices
❑ You use an input device,
such as a keyboard or a
mouse, to input data and
issue commands
o Keyboard
✓Ergonomic
o Pointing device
✓Mouse
• Scroll wheel
✓Trackball
✓Touch pad
✓Pointing stick
o Scanner

10/13/2020 Nguyễn Hải Minh 15


Output Devices

❑Output devices show


you the results of
processing data
o Monitor: CRT, LCD, TN, IPS,
OLED, Retina, …
o Printer:
• Laser
• Inkjet
• Dot matrix

10/12/2020 Nguyễn Hải Minh 16


Data Representation
❑ Binary digits (bits) ❑ ASCII
❑ A series of eight bits is o American Standard Code
for Information Interchange
called a byte
o Kilobyte (KB or K)
o Megabyte (MB)
o Gigabyte (GB)
o Terabyte (TB)

10/12/2020 Nguyễn Hải Minh 17


❑ Random access memory (RAM)
o Volatile memory
Memory o SDRAM, DDR RAM, DDR2, DDR3, DDR4…
❑ Cache memory
❑ Virtual memory
10/12/2020 Nguyễn Hải Minh 18
Memory
❑ Read-only memory
(ROM)
o BIOS
o Nonvolatile memory
❑ Complementary metal
oxide semiconductor
memory (CMOS)
❑ Semi-permanent
memory

10/12/2020 Nguyễn Hải Minh 19


Storage Media
❑ A computer file is a named collection of
stored data
❑ An executable file contains the instructions
that tell a computer how to perform a specific
task
❑ A data file is created by a user

10/12/2020 Nguyễn Hải Minh 20


Storage Media

❑Magnetic media
• Hard disk
• Tape
• Floppy disk

10/12/2020 Nguyễn Hải Minh 21


Storage Media

❑Optical storage
device
• CD, CD-ROM, CD-R,
CD-RW
• DVD
• HD-DVD
• Blueray

10/12/2020 Nguyễn Hải Minh 22


Storage Media
❑ Flash memory
o Memory cards
o USB flash storage device
o Solid state drive (SSD)

10/12/2020 Nguyễn Hải Minh 23


Data Communications
❑ The transmission of text, numeric, voice, or
video data from one computer to another or
to a peripheral device is called data
communications
o Sender and receiver
o Channel
o Protocol
o Device driver (driver)

10/12/2020 Nguyễn Hải Minh 24


Data Bus
❑ This path between the microprocessor, RAM,
and peripherals is called the data bus

10/12/2020 Nguyễn Hải Minh 25


Networks
❑ A network connects one computer to other
computers and peripheral devices, enabling
you to share data and resources with others
❑ Network interface card (NIC)
❑ LAN
❑ WAN
❑ WLAN
❑ WiMax

10/12/2020 Nguyễn Hải Minh 26


Telecommunications

❑ Telecommunications means
communicating over a comparatively
long distance using a phone line or
some other data conduit
o Modem
✓Digital and analog signals
o DSL
o ADSL

10/12/2020 Nguyễn Hải Minh 27


The Internet

❑The Internet is the


largest network in the
world, connecting
millions of people
• Electronic mail
• World Wide Web
• Web page
• Web site

10/12/2020 Nguyễn Hải Minh 28


Security Threats on Your Computer

❑Security refers to the


steps a computer owner
takes to prevent
unauthorized use of or
damage to the computer
• Malware
• Viruses
• Antivirus software
• Spyware
• Adware
❑Firewall
❑Phishing
❑Pharming

10/12/2020 Nguyễn Hải Minh 29


System Software
❑ System software
manages the
fundamental
operations of your
computer
o Operating system
✓System resource
✓Multitasking
o Utilities
o Programming
Languages

10/12/2020 Nguyễn Hải Minh 30


❑ Application software enables you
to perform specific computer tasks,
Application
such as document production,
Software spreadsheet calculations, database
management, …

10/13/2020 Nguyễn Hải Minh 31

You might also like