MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ARCHITECTURE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A source program is usually in ____
A
Assembly language
B
Machine level language
C
High-level language
D
Natural language
Explanation: 

Detailed explanation-1: -A source program is a program to be translated into machine language. That’s why the source program is written in a high-level language (C, C++, java etc). After that, the compiler converts it to low-level language which a computer can understand.

Detailed explanation-2: -A source program is a text file that contains instructions written in a high level language. It can not be executed (made to run) by a processor without some additional steps. A source program is also called a source file, source code, or sometimes, just source.

Detailed explanation-3: -Source is a family of sublanguages of JavaScript, developed for the textbook Structure and Interpretation of Computer Programs, JavaScript Edition (SICP JS).

Detailed explanation-4: -Answer: A program written in a high-level language is known as (a) Source Code. Explanation: Source code is the set of instructions written by a programmer using various programming languages.

Detailed explanation-5: -Compiler. A compiler is a computer program that translates a program written in a high-level language to the machine language of a computer. The high-level program is referred to as ‘the source code.

There is 1 question to complete.