Which is the program written by the user called?a)Object code/programb...
Source Code/Program
Source code refers to the program written by the user using a programming language such as C, Java, Python, etc. It is a human-readable form of instructions that can be understood by both programmers and compilers or interpreters.
Explanation:
When a programmer writes a program, they use a programming language to express their instructions in a way that is understandable to both humans and computers. This program is known as the source code.
Understanding the options:
a) Object code/program: Object code is the output generated by a compiler or assembler after processing the source code. It is usually in the form of binary code that is directly executable by the computer's hardware. Object code is not written by the user but rather generated by the compilation process. Therefore, option a is incorrect.
b) Machine code: Machine code is the lowest-level programming language understood by computers. It consists of binary instructions that can be executed directly by the computer's hardware. Machine code is not written by the user but rather generated by the compilation or assembly process. Therefore, option b is incorrect.
c) High language: High-level language refers to programming languages that are designed to be easier for humans to read and write. Examples include C, Java, Python, etc. High-level languages are used by programmers to write source code. Therefore, option c is incorrect.
Conclusion:
The correct answer is option D, Source code/program. This option accurately describes the program written by the user using a programming language. The source code is then processed by a compiler or interpreter to generate the corresponding object code or machine code, which can be executed by the computer.
To make sure you are not studying endlessly, EduRev has designed Class 7 study material, with Structured Courses, Videos, & Test Series. Plus get personalized analysis, doubt solving and improvement plans to achieve a great score in Class 7.