fco-chap-3
fco-chap-3
Computer Languages
and OS
Computer Languages
Machine level language
Assembly level language
High level language
Computer Languages
Machine level language
Machine language is a low-level programming language
that consists of binary bits i.e. only 0 and 1.
The data present in binary form is the reason for its fast
execution. In Machine language, instructions are directly
executed by the CPU.
Machine language is also known as object code or
machine code. Machine language is binary language.
• Machine language is a low level language.
• Machine language consist of only 0 and 1 bits.
• Machine languages are platform dependent.
• It is nearly impossible to learn machine language for
humans because it requires a lot of memorization.
Computer Languages
Features of Machine Language
• Machine language is a low level language.
• Machine language consist of only 0 and 1 bits.
• Machine languages are platform dependent.
• It is nearly impossible to learn machine language for humans because it requires a lot of
memoization.
• Machine language is used to create and construct drivers as well.
Computer Languages-Assembly level
Language
Assembly level language is a low-level language that helps to
communicate directly with computer hardware.
It uses mnemonics to represent the operations that a processor
has to do. Which is an intermediate language between high-level
languages like C++ and the binary language.
It uses hexadecimal and binary values, and it is readable by
humans.
Assembly languages contain mnemonic codes that specify what
the processor should do.
The mnemonic code that was written by the programmer was
converted into machine language (binary language) for execution.
An assembler is used to convert assembly code into machine
language. That machine code is stored in an executable file for
the sake of execution
Computer Languages-high level
Language
A high-level language is a programming language that is designed to make it
easier for humans to understand and write.
It is closer to natural language and uses commands and instructions that are
more abstract and less dependent on the specific details of the underlying
computer hardware.
High-level languages are used in programming because they allow programmers
to write code that is more readable, maintainable, and portable.
These languages provide a higher level of abstraction, allowing developers to
focus on solving problems rather than dealing with low-level details of the
computer system.
Some examples of high-level languages include Python, Java, C++, JavaScript,
Ruby, and C#.
These languages have syntax and structures that are closer to human-readable
language, making them easier for programmers to understand and use.
Definition of
Assembler,Interpreter,compiler
An assembler is a computer program that translates assembly language code
into machine code, allowing for direct communication with a computer's
hardware. It converts human-readable instructions into binary code that the
central processing unit (CPU) can execute.
All high-level languages need to be converted to machine code so that the
computer can understand the program after taking the required inputs. The
software by which the conversion of the high-level instructions is performed
line-by-line to machine-level language, other than compiler and assembler, is
known as INTERPRETER.
A compiler is a software that converts the source code to the object code. In
other words, we can say that it converts the high-level language to
machine/binary language. Moreover, it is necessary to perform this step to
make the program executable. This is because the computer understands only
binary language.
MSDOS - Microsoft Disk Operating System
FILE NAMING RULES
WILD CARD CHARACTER
INTERNAL AND EXTERNAL COMMAND
FILE ALLOCATION TABLE
AUTO EXE.BAT
CONFIG.Sys
MSDOS - Microsoft Disk Operating System
1. Name of every file in DOS operating system should be unique within the directory , where it is stored. This makes a
unique path name in file system and easy to access this file ahead
2. Maximum length of file name should be in 255 Characters long. File name can contain Numbers, Letters, and
underscores.
3. The Operating system is a case Sensitive , that shows a different meaning of uppercase and lowercase letter in the file
names. Example RULES, rULes, rules These three file name are distinct file name , even though they are present in
same directory.
4. Avoid the usage of certain characters while file naming :
Characters to avoid using are / \ " ' * ; - ? [ ] ( ) ! ~ $ { } < > # @ | &
Space tab means a new line copy in MS-DOS
5. File name gets hidden if the name of the file starts with dot(.)
MSDOS – WILD CARD CHARACTER
An asterisk – will match any combination of characters
*
A question mark – will match any single character
?
To copy all of the files in a folder:
C:\myfiles\*.*
This finds any number of characters in the filename and the extension
name of the file. All of the files in the folder named myfiles will be
copied
By default, the Recycle Bin should be present in the upper-left corner of your
desktop in both Windows 10 and Windows 11. We find this the easiest way to
access the Recycle Bin. Find the icon on your desktop, then either select it and
press Enter on your keyboard, or double-click or double-tap on it to open the
folder. Alternatively, you can also right-click or press-and-hold on the icon to
open a contextual menu. Then, click or tap on Open.