PC Important Ques (Unit-1)
PC Important Ques (Unit-1)
2024
STUDY MATERIAL
PROGRAMMING IN C
IMPORTANT QUES
- by SnapED community
SnapED Community
not meant to be executed by a computer. It is used to express an algorithm in a way that is easy to
understand and can be translated into any programming language.
Both flowcharts and pseudocode are used to represent algorithms at a high level of abstraction,
independent of any specific programming language or implementation details. They are useful for
designing, analysing, and communicating algorithms before implementing them in code.
Application software:
Refers to software that is designed to perform specific tasks and functions for the user.
Includes software such as word processing, web browsing, and video games.
Focused on providing specific functionality to the end user.
Often installed by the user and can vary depending on their needs.
Examples include Microsoft Word, Google Chrome, and Minecraft.
System software:
Refers to the underlying software that controls and manages the computer's hardware and basic
operations.
Includes the operating system, device drivers, and utilities.
Provides a platform for other software to run on.
Typically, pre-installed on a computer and necessary for the proper functioning of the system.
Examples include Windows, Linux, MacOS, and iOS.
An Identifier is a name given to a variable, function, or any other user-defined item. Identifiers are
used to identify and refer to these items in the code. The rules for defining identifiers in C are as
follows:
Identifiers can only contain letters, digits, and underscores.
The first character of an identifier must be a letter or an underscore.
Identifiers are case-sensitive, meaning that "myVariable" and "myvariable" would be considered
different identifiers.
Identifiers cannot be the same as a keyword or reserved word in the C language.
Identifiers can be of any length, but it is generally recommended to keep them short and
meaningful.
Interpreters typically execute the program as it is being translated, so the program is executed
immediately after it is read.
Interpreters need to be installed on the target machine in order to run the program.
The output of an interpreter is not a standalone executable, but the program runs on the fly.
Examples of interpreters include the Python interpreter, and the Java Virtual Machine (JVM) for
Java.