In: Computer Science
1. Why a computer can perform some tasks for us?
2. What computer device could Fetch instructions, follow the instructions, and produce some results?
3. What is the function of computer memory (RAM)? What is used to translate each source code instruction into the appropriate machine language instruction?
4. What is the correct sequence in the process of translating a source file into an executable file?
5. The step that will uncover any syntax errors in your program is ________________.
6. What is a set of rules that must be followed when constructing a program?
Q 1. Why a computer can perform some tasks for us?
Ans: As we know hat the computer is a electronic device that perform the variety of tasks on the data.And this tasks are basically related to the four basic computer operations:
And also we know that with the use of the computer we can increase the productivity of work, and in simple word we can do any thing that we want in very less time.So, with that all thing we all use the computers.
Q 2. What computer device could Fetch instructions, follow the instructions, and produce some results?
Ans: CPU (central processing unit) fetch the instructions , follow the instructions and produce some results.The CPU is called the brain of the computer that perform most of all processes in the computer.The CPU is basically consists of the two parts: 1) Control Unit 2) Arithmetic and Logic Unit.This is also responsible for the determineing to get the next instruction and it also regulate the other component of the computer.
Q 3 What is the function of computer memory (RAM)? What is used to translate each source code instruction into the appropriate machine language instruction?
Ans: RAM stands for the Random-Access Memory.Basically it is a type of computer data storage .It store the file that are use when the computer is running.The following functions of the RAM are as follows:
Compilers are used to translate source code instruction into the appropriate machine language instruction.Basically the compiler translates the programs that are written in a high level language into Machine Language.The reason for translating source code is to create the executable program.
Q 4. What is the correct sequence in the process of translating a source file into an executable file?
Ans: The correct sequences in the process of translating the source file into an executable file are as:
Q 5. The step that will uncover any syntax errors in your program is ________________.
Ans: The step that will uncover any syntax errors in your program is Compiling. As we know that the syntex error are mistakes in using the language.The example of the syntex error may be the missing a quotation or a comma or misspelling a word.
Q 6. What is a set of rules that must be followed when constructing a program?
Ans: As we know that the every programming languages are a certain set of rules and regulations.So, we as a programmer must follows these rules and regulation while writing the program in any languages.And that rules are called the syntex.
THANKS , i think this will give you a better intuition about your questions. If you have any doubt fell free to ask in the comment section.