What is a string?
Data composed of text characters.
The data is stored in consecutive bytes of
Each byte stores the ASCII code for a
The 7-bit ASCII Character Set
Storing a String
When a String type variab
Individual Computer Components
The first line describes the central processor inside the laptop
Tells you how powerful the computer is
Central processor is the Intel Pentium IV processor
Next line describes the memory that come
Computing systems - 1.1
A computing system is a dynamic entity used to solve problems and interact
with its environment.
A computing system is composed of hardware and software, and the data that
Computer hardware is the collection of phys
Data and Computers
Computers are multimedia devices, dealing with many categories of information
Computers store, present, and help modify many types of data:
Images and graphics
Ultimately all of this data
Problem solving- the act of finding a solution to a perplexing, distressing, vexing or
A human (programmer) must analyze the problem, develop the instructions for solving the
problem (the program) and then ha
Database management systems
Database- a structured set of data
Database management system (DBMS)- a combination of software and data made up of the:
Physical database- a collection of files that contain the data
Database engine- software
Computers and Electricity
A voltage level in the range of 0-2 volts is considered low and is interpreted as binary 0
A signal in the 2-5 volt range is considered high and is interpreted as a binary 1
Gate- a device that performs a basic oper
Roles of an operating system
Modern software can be divided into two categories- application and system software
Application software- programs that help us solve problems in real world
Word processing programs, games, inventory co
Main memory- where active programs and data are held while in use
Volatile- the information stored on it is lost if electric power is turned off
Secondary memory- non-volatile- the information stored on it is maintained even
2017 January 5
EECS 1530 Computer Use: Programming
Report 1 Specification
Due: Thursday, January 26, 11:00 am
Where and how: see Section 1.3
1 Main points
Be sure to read and follow all the guidelines from the On Academic Honesty from the WWW home page
The instructions that manipulate data are stored within the machine along with the data
Store, retrieve and process are actions that the computer can perform on data
At the machine level, processing involves performing arit
CSE 1530: Introduction to Computer Use II - Programming
1. Basic Knowledge
1a. [4 points, one point each] Define/explain any four (only four) of the following terms.
Group, collection etc. of objects where each object has a unique pos
All data in the computer memory can only consist of patterns of 1s and 0s. Memory
cells can only hold 8 1s and 0s called 8 bits, or 1 byte. However, we know that the
computer can manipulate numbers (both integers and real
Charting the Flow of Control
Weve used flow
charts to visualise the
flow of control.
The simplest form is
Declare vars for
input and result
produce result from
VB provides a large number of functions that
facilitate working with strings.
These are found in
For convenience they can be grouped
according to the kind of task theyre
Flow of Control
The flow of control is a concept with which
were already familiar.
The concept of control relates to the machine
level in which a single instruction controls
the behaviour of the CPU.
The flow of control
Programs that can only get data from the
user interface are limited.
data must be entered each time.
only small amounts of data can be processed.
Both limitations can be circumvented by
storing data in text files.
The many data types seen so far divide into 2
They differ in the kinds of operations that
can be performed on the data type.
To build on the achievements of CSE1520.03 - to develop further understanding of
computers and more advanced computer skills.
To develop elementary programming skills in the Visual Basic programming language.
To develop and stren
Converting Numbers Between Bases
Converting Decimal to Other
While the quotient is not zero
Divide the decimal number by the new base.
Make the remainder the next digit to the left in the
Replace the original dividend with the quotient.
Some Modules, Structures, and Classes and their functions, properties and methods
Public Module Strings
In general dont use these functions use the String class instead
Member of: Microsoft.VisualBasic
Summary: The Strings module contains procedures used
1.1 Computing Systems
Computing systems -dynamic entities used to solve problems and interact with their environment.
They consist of devices, programs, and data.
Hardware - The physical elements of a computing system (printer, circuit boards, wires, keyb