Bridge Course 1
Bridge Course 1
CLASS: I IT
DATE: 25.09.21
TIME:9:30-10:30AM
Languages used in Computer or Computer Languages
Symbolic codes are meaningful abbreviations such as SUB is used for substation
operation, MUL for multiply operation and so on. Therefore this language is also
called the low-level symbolic language.
The set of program instructions written in assembly language are also called as
mnemonic code.
Easy to understand and use - due to the use of mnemonic instead of numeric op-codes
and symbolic names for data location instead of numeric addresses, it is much easier to
understand and use in contrast with machine language.
Easier to locate and correct errors - the programmers need not to keep track of storage
location of the data and instruction, fewer errors are made while writing programs in
assembly language and those that are made, are easier to find and correct.
Easy to modify - assembly language are easier to understand, it is easier to locate, correct
and modify instruction of an assembly language program.
The programming languages that are close to human languages (example like
English languages) are called the high-level languages.
Fortran
COBOL
Basic
Pascal
C
C++
Java
CONT….
The high level programming languages are
further divided into:
• Procedural languages
• Non procedural languages
• Object oriented programming languages
CONT…
Advantages of High Level Languages
There are several advantages of high level programming languages. The most important advantages are:
Easy to learn - the high level languages are very easy to learn than low level languages. The statements
written for the program are similar to English-like statements.
Easy to understand - the program written in high level language by one programmer can easily be
understood by another because the program instructions are similar to the English language.
Easy to write program - in high level language, a new program can easily be written in a very short time.
The larger and complicated software can be developed in few days or months.
Easy to detect and remove errors - the errors in a program can be easily detected and removed. mostly the
errors are occurred during the compilation of new program.
Built-in library functions - Each high level language provides a large number of built-in functions or
procedures that can be used to perform specific task during designing of new programs. In this way, a large
amount of time of programmer is saved.
Machine Independence - program written in high level language is machine independent. It means that a
program written in one type of computer can be executed on another type of computer.
Non Procedural Languages
Non procedural programming languages are also known as fourth generation languages. In non procedural programming
languages, the order of program instructions is not important. Ihe importance is given only to, what is to be done.
With a non procedural language, the user/programmer writes English like instructions to retrieve data from databases.
These languages are easier to use than procedural languages. These languages provide the user-friendly program
development tools to write instructions. The programmers have not to spend much time for coding the program.
The most important non procedural languages and tools are discussed below:
SQL - it stands for structured query language. it is very popular database access language and is specially used to access
RPG - it stands for report program generator. This language was introduced by IBM to generate business reports.
Typically, RPG is used for application development on IBM midrange computers, such as AS/400.
Object Oriented Programming Languages
The object oriented programming concept was introduced in the late 1960s, but
now it has become the most popular approach to develop software.
as primary memory. the example of primary memory are registers, cache and main memory. Whereas, external memory is the separate storage device from
Capacity: It is the most important feature of computer memory. Storage capacity can vary in external and internal memory. External devices' storage
capacity is measured in terms of bytes, whereas the internal memory is measured with bytes or words. The storage word length can vary in bits, such as 8,
16 or 32 bits.
Whereas, the data received from random access memory (RAM) can be in any order.
• Random Access Method: It is a method used to randomly access data from memory. This method is the opposite of SAM. For example, to go from A
to Z in random access, we can directly jump to any specified location. In the Sequential method, we have to follow all intervening from A to Z to reach
Primary memory is also known as the computer system's main memory that
communicates directly within the CPU , Auxiliary memory and the Cache memory.
Main memory is used to kept programs or data when the processor is active to use them.
When a program or data is activated to execute, the processor first loads instructions or
programs from secondary memory into main memory, and then the processor starts
execution.
. The primary memory is volatile, which means the data in memory can be lost if it is not
saved when a power failure occurs.
It is costlier than secondary memory, and the main memory capacity is limited as
compared to secondary memory.
a capacitor and a transistor. The size of the capacitor and the transistor is so small, requiring millions of
them to store on a single chip. Hence, a DRAM chip can hold more data than an SRAM chip of the same
size.
However, the capacitor needs to be continuously refreshed to retain information because DRAM is
volatile. If the power is switched off, the data store in memory is lost.
Characteristics of DRAM
It requires continuously refreshed to retain the data.
It is slower than SRAM
It holds a large amount of data
It is the combination of capacitor and transistor
It is less expensive as compared to SRAM
Less power consumption
SRAM
SRAM: (Static Random-Access Memory) is
a type of RAM used to store static data in the
memory.
It means to store data in SRAM remains active
as long as the computer system has a power
supply. However, data is lost in SRAM when
power failures have occurred.
Characteristics of Static Ram
• It does not require to refresh.
• It is faster than DRAM
• It is expensive.
• High power consumption
• Longer life
• Large size
• Uses as a cache memory
Advantages of RAM
It is also known as Floppy Diskette that comes in three sizes like 8 inches,
5.5 inches and 3.5 inches. The stored data of a floppy disk can be accessed
through the floppy disk drive.
However, it is the oldest type of portable storage device, which can store
data up to 1.44 MB. Since most programs were larger, that required
multiple floppy diskettes to store large amounts of data. Therefore, it is not
used due to very low memory storage.
Cont…
CD (Compact Disc)
videos, files, OS, Back-Up file, and any other information useful to a
computer.
The CD has a width of 1.2 mm and 12 cm in height, which can store
Users can only read data, text, music, videos from the disc, but
they cannot modify or burnt it.
CD-R (Compact Disc Recordable): The type of Compact
Disc used to write once by the user; after that, it cannot be
modified or erased.