Академический Документы
Профессиональный Документы
Культура Документы
What do you mean by programming language? How many types of programming language are
there?
PROGRAMMING LANGUAGE
Defi nition : A programming language is a formal computer
language or constructed language designed to communicate instructions to
a machine, particularly a computer. Programming languages can be used to
create programs to control the behavior of a machine or to express algorithms
Or
A set of rule that provide a way to telling computer what operation to perform is
called programming language
1. Machine language
2. Assembly language
FORTRON
COBAL
BASIC
PASCAL
ADA
C-language.
Question: 2
Define software .Discuss different types of software.
SOFTWARE
Defi nition: Software is that part of a computer system that consists of encoded
information or computer instructions, in contrast to the physical hardware from
which the system is built.
Or
Software is a general term used for computer program. A computer program is a
planned, step by step set of instructions that directs the computer what to do and
how to do. It turns the data into information that makes computer useful .Without
software a computer is like a human without brain.
TYPES OF SOFTWARE
Generally speaking, software can be categorized as:
1. System software
2. Application software
SYSTEM SOFTWARE: System software is that software which we can used to
control the system and also used for run applications. System software is the
program directly related to the computer hardware and performs tasks associated
with controlling and utilizing computer hardware.
Categories of system software;
There are following categories of system software.
1. Operating system
2. Language translator
i.
Interpreter
ii.
Compiler
iii.
Assembler
3. Data management software
4. Editors
5. Utility software
APPLICATION SOFTWARE: Application software is programs that help the user to
perform a specific job.
For example: application software enables a user;
To
To
To
To
write a letter
create a drawing
make a report
prepare accounts
It helps the user work faster; more efficiently and thus provide more productivity
than manual performance.
OPERATING SYSTEM
Defi nition: Operating system is a set of programs that controls and supervisees
the hardware of a computer and provides services to application software,
programmers and users of computer. Without an operating system computer cannot
do anything useful. Without an operating system computer cannot recognize any
command.
DOS
Windows
UNIX
LINUX
XP
Solaris.
CHARACTERISTICS OF DOS
1. It is called DOS (Disk Operating System) because it can reside on a single
disk (Floppy disk).
2. The process of loading the disk operating system into memory is called boot
strapping or booting the system.
3.
4.
5.
6.
Question: 4
Write the full forms of the following.
SHORT HAND
FULL FORMS
1. IBM
2. HDD
3. CRT
4. ACSII
5. BPI
6. COBAL
7. LAN
8. 4GL
9. RMDIR
Remove Directory
10.CHDIR
11.BASIC
12.LCD
13.FORTRAN
Formula Translation
14.EBCDIC
15.HGA
Question: 5
Define types of computer according to their size.
ACCORDING TO SIZE
Supercomputers
Mainframe Computers
Minicomputers
Workstations
Supercomputers are the most powerful computers. They are used for problems
requiring complex calculations.
Mainframe computers are used in large organizations where many users need
access to shared data and programs.
purpose
computers, and give computing power without adding the prohibitive expenses
associated with larger systems. It is generally easier to use.
Workstations
Workstations are used for tasks that require a great deal of number-crunching
power, such as product design and computer animation.
Microcomputers are more commonly known as personal computers. The term
PC is applied to IBM-PCs or compatible computers.
Notebook (laptop) computers are used by people who need the power of a
desktop system, but also portability.
Handheld PCs (such as PDAs) lack the power of a desktop or notebook PC, but
offer features for users who limited functions and small size.
DATA
INFORMATION
DOS
1. DOS has a CUI (Command User
Interface).
WINDOWS OPERATION
SYSTEM
Windows has a GUI (Graphical User
Interface).
INTERNAL COMMAND OF
DOS
1. These are the command that is
loaded automatically in a memory
of computer (RAM) at the time of
booting.
2. To run all the internal command
you dont have to set a path
3. Internal command is stored in
command interpreter
(command.comfile).
SEQUENTIAL ACCESS
1. Volume location is limited by the
trigger prefix or by manual
specification
2. Operators need to define volumes
and specify their sizes, or define
space triggers to automatically
allocate space when a threshold is
reached.
3. Sequential access performed by
node and file space.
EXTERNAL COMMAND OF
DOS
These are the command that has no
loaded automatically in memory of
computer (RAM) at the time of booting.
To run all the external command you
have to set a path.
External command is stored separately
on a disk as a program.
RANDOM ACCESS
A list of directories can be specified. If
directories correspond with file systems,
performance is optimized.
Operators can a define space triggers to
automatically allocate space when a
threshold is reached.
COMMAND
STATEMENT
1. A command is an operating
system instruction or other
system instruction SQL may fall
into the categories.
2. A command is an action.
Question: 7
Draw the block diagram of CPU and explain the following.
i.
ALU
ii.
Control unit
Function of ALU:
The ALU performs the basic functions on data received from the primary
storage.
The ALU performs arithmetic and logical operations.
Working Process:
The ALU includes a group of registers. The registers are high speed volatile or
temporary memory location built directly into the CPU. There are 14 basic registers
shared by ALU and CU.
Example:
The control unit might load two numbers from memory into the registers in the ALU.
CU (CONTROL UNIT)
Defi nition: The control unit is a part of CPU where all the computers resources
are managed. It works like a traffic cop directing the flow of data between the
components of the CPU and to and from other device. Its also includes registers.
Function
The control unit
Question: 8
Write down briefly the function of CPU.
Question: 9
Define a language translator and write its types.
LANGAGE TRANSLATOR
Computer can only understand programs in machine languages but we write
programs in high level languages. Therefore, there must be a language translator
which translates high level language into machine language so that computer can
act upon our instruction.
Question: 10
Why do you need language translator?
We need language translator in system software because computer cant
understand our language. Therefore translator converts high level language into
low level language &vice versa as computer can only understand in binary format.
VIRUS
A virus is a hidden program, which can affect other program by modifying than and
causing the data loss. It attached itself to other programs and executed secretly
every term, they most program are executed. The virus replicated itself with a
computer system. Some virus hidden in the computer can affect the computer at a
particular time called time bomb virus.
TYPES OF VIRUSES
There is large number of virus present in the computer world. These viruses include;
Question: 12
Write short note on the following topics.
i.
ii.
iii.
iv.
v.
vi.
vii.
viii.
ix.
x.
1.
Icon.
Windows explorer.
Number system.
History of basic.
Reversed or key word.
Application of computer in education.
Operating system.
Loop and its types.
Purpose of lines numbers in basic.
Main memory.
ICON
An icon is a small color full graphical picture that represents an object like a file,
folder, any label in a computer. Every icon has a label, which identifies it. The labels
can be changed. Windows operating system use different icons to represent files,
folders and applications, icon found on desktop are normally left aligned.
Microsoft Windows and the Apple Mac OS, to help quickly identify a type of file or
program associated with the icon. The image to the right is an example of My
Computer icons in different versions of Microsoft Windows.
Select the icon whose position you want to change by left clicking with the
mouse.
Hold down left button of the mouse while moving the pointer to new location
of the desktop or to the folder where you want to place the icons.
Released the mouse button now.
Icon has been moved to a new location.
Move mouse pointer to the icon whose name you want to change.
Click the right button of the mouse, a menu will open.
Click on the Rename command from it.
Label of the icon will be highlighted and cursor will flash in it.
Now types the new name and pass entre key at the end.
Name or label of the icon has been changed.
2.
EXPLORER
WINDOWS
Windows Explorer is a graphical file management utility for the Windows operating
system (OS).
Windows Explorer, which was introduced with Windows 95, was later renamed File
Explorer. Each time that a computer user accesses a disk or opens a folder
containing files, they are using the Windows/File Explorer utility. The goal of the file
management utility is to allow users to conveniently work with the files and
directories located on any connected disk. When a file is selected within the
3. NUMBER SYSTEM
A set of values used to represent different quantities is known as Number
System". For example, a number system can be used to represent the number of
students in a class or number of viewers watching a certain TV program etc. The
digital computer represents all kinds of data and information in binary numbers. It
includes audio, graphics, video, text and numbers. The total number of digits used
in a number system is called its base or radix. The base is written after the number
as subscript such as 51210.
Some important number systems are as follows.
Decimal number system
Binary number system
Octal number system
Hexadecimal number system
The decimal number system is used in general. However, the computers use binary
number system. The octal and hexadecimal number systems are used in the
computer.
4. HISTORY OF BASICS
One of the earliest machines designed to assist people in calculations was
the abacus which is still being used some 5000 years after its invention.
In 1642 Blas Pascal (a famous French mathematician) invented an adding machine
based on mechanical gears in which numbers were represented by the cogs on the
wheels.
What it is
Auxiliary port aka Serial Port COM1
CON
COM1
COM port
COM2
COM port
COM3
COM port
COM4
COM port
LPT1
LPT port
LPT2
LPT port
LPT3
LPT port.
NUL
NULL
PRN
6. APPLICATIONS OF COMPUTER IN
EDUCATION
This course is designed to help teachers become familiar with various aspects of
computer applications in educational settings. It is expected that each learner will
have had some experience with computers and come to the course with questions,
inquiries and interests in various issues related to the educational application of
computers on both the theoretical and practical levels.
Computer applications in education is a broad and changing term due to the
breadth of the area of study and the rapid and ever-changing nature of technology.
Computer applications include, but are not limited to, desktop publishing and
presentations, computer use in classrooms, telecommunications and distance
education, computer hardware and software, networking, lab administration,
multimedia presentations, and publishing. Obviously, we cannot cover them all in
just one fifteen week course. Additionally, it does not help to learn to use
7. OPERATING SYSTEM
Operating system is software that works as an interface between a user and
the computer hardware. The primary objective of an operating system is to make
computer system convenient to use and to utilize computer hardware in an efficient
manner. The operating system performs the basic tasks such as receiving input
from the keyboard, processing instructions and sending output to the screen.
The Software is the Non-Touchable Parts of the Computer , and Softwares are those
which are used for Performing an Operation So that Softwares are just used for
Making an Application but hardwares are those which are used for Performing an
Operation .
Operating system is software that is required in order to run application programs
and utilities. It works as a bridge to perform better interaction between application
programs and hardware of the computer. Various types of operating systems' are
UNIX, MS-DOS, MS-Windows - 98/XP/Vista, Windows-NT/2000, OS/2 and Mac OS.
Operating system manages overall activities of a computer and the input/output
devices attached to the computer. It is the first software you see when you turn on
the computer, and the last software you see when the computer is turned off. It is
the software that enables all the programs you use.
Here are generally used for repeating the statements. In this There is Either Entry
Controlled loop or as Exit Controlled Loop We know that before Execution of
Statements all Conditions are Checked these are Performed by Entry Controlled
Loops Which First Checks Condition And in Exit Controlled Loop it Checks Condition
for Ending Loop Whether given Condition is False or not if a Loop First Checks
Condition For Execution then it is called as Entry Controlled Loop and if a Loop
Checks Condition after the Execution of Statement then they are Called as Exit
Controlled Loops.
In The loop generally there are three basic operations are performed
1) Initialization
2) Condition check
3) Increment
There are the three types of loops in the java
1) While
2) Do-while
3) For
All these are used for performing the repetitive tasks until the given condition is not
true.
1) While: - While Loop is Known as Entry Controlled Loop because in The while loop
first we initialize the value of variable or Starting point of Execution and then we
check the condition and if the condition is true then it will execute the statements
and then after it increments or decrements the value of a variable. But in the while
loop if a Condition is false then it will never Executes the Statement So that For
Execution, this is must that the Condition must be true.
2) Do while: - This is Also Called as Exit Controlled Loop we know that in The while
loop the condition is check before the execution of the program but if the condition
is not true then it will not execute the statements so for this purpose we use the do
while loop in this first it executes the statements and then it increments the value of
a variable and then last it checks the condition So in this either the condition is true
or not it Execute the statement at least one time.
3) For: - In This loop all the basic operations like initialization, condition checking
and incrementing or decrementing all these are performed in only one line. This is
similar to the while loop for performing its execution but only different in its syntax.
In advanced mathematics, the expressions real number line, or real line are
typically used to indicate the above-mentioned concept that every point on a
straight line corresponds to a single real number, and vice versa.
If a particular number is farther to the right on the number line than is another
number, then the first number is greater than the second (equivalently, the second
is less than the first). The distance between them is the magnitude of their
differencethat is, it measures the first number minus the second one, or
equivalently the absolute value of the second number minus the first one. Taking
this difference is the process of subtraction.
Thus, for example, the length of a line segment between 0 and some other number
represents the magnitude of the latter number.
Two numbers can be added by "picking up" the length from 0 to one of the
numbers, and putting it down again with the end that was 0 placed on top of the
other number.