Question

In: Computer Science

1) The set of instructions that tells a computer what to do is called a ______________?...

1) The set of instructions that tells a computer what to do is called a ______________? 2) A program design tool used to list the attributes and methods of objects within an object-oriented program is called _______________. 3) Of the programming languages discussed in the textbook, which language is used to create web applications (called applets) that can be inserted into web pages? 4) If a programmer makes a spelling mistake or violates the rules of the programming language the program will not run. This is called a __________ error. 5) When a program runs but provides the wrong output, the programmer has committed a __________ error. 6) The software program that converts programming language code into binary code that can be read by the CPU is called a ________________. 7) With regards to computer programming, what is a variable? 8) Software companies often provide its finished programs to other companies for free with the understanding that the other companies will use the program and report back to the software company any errors found in the program. This is called ___________ testing. 9) The five steps performed by programmers to analyze, design, code, debug, and maintain a program is called the _________________________________________. 10) There are primarily two categories of programming languages: structured languages that were popular from the 1950’s through the 1980s, and ________________ languages that are most commonly used today.

Solutions

Expert Solution

Question 1

Solution:-

   The set of instructions that tells a computer what to do is called a Program.

Program is briefly explained below :

  • A program is a set of instructions executed by the computer to perform a particular task.
  • It is is written by a computer programmer by make use of any of the programming languages.
  • It is also called as an application or software.
  • A program will take the input,manipulate the data and produces the corresponding result.

Question 2

Solution:-

  A program design tool used to list the attributes and methods of objects within an object-oriented program is called Class Diagram.

A brief note on class diagram is given below :

  • Class diagram is the UML diagram which can easily map the class with respect to attributes,methods and their relationship.
  • It is a building block in the modeling of object oriented system.
  • This structural diagram describes attributes and operations of a class in detail.
  • It consists of collection of classes,interfaces constraints and associations.

Question 3

Solution:-

Java is the programming language which is used to create web applications (called applets) that can be inserted into web pages.

A note on Java is given below;

  • Java is an Object Oriented Programming language.
  • It is platform independent because the compiled code also known as the bytecode which can run on any operating system.
  • An applet is a java program that can be inserted into web pages which provides interactive features to web applications.It is embedded in HTML pages and executed by the browsers.

Question 4

Solution:-

If a programmer makes a spelling mistake or violates the rules of the programming language the program will not run. This is called a Syntax error.

  • Syntax error is an error which may occur in source code which is found on program execution time.
  • Each programming languages have a set of rules which is need to follow while coding.If a source code violates the syntax ,then it will not compile until it is corrected.
  • misspelled instructions or words,missing commas or quotation marks will result in syntax error.

Question 5

Solution:-

When a program runs but provides the wrong output, the programmer has committed a Logic error.

  • Normally, a mistake in source code of a program will result in logic error which results in incorrect or wrong output.
  • It is a runtime error which is mainly occur due to fault in logic.

Question 6

Solution:-

   The software program that converts programming language code into binary code that can be read by the CPU is called a compiler or Interpreter.

  • The high level language resembles to english language can easily understand by the human which refers to the source code we have written whereas the low level language is written in 0's and 1's in binary and it is called machine code.
  • Compiler or Interpreter can be used to convert a source code into binary code or machine code.
  • Compiler scan the whole program and  translates the entire program into machine code.
  • Interpreter translates one line or one statement at a time.

Question 7

Solution:-

Variable :-

  • A variable is a name used to store informations or values in computer program.
  • It act as a container to hold values or informations.
  • Variables can be declared in different types like String,character,integer,float,boolean.

Question 8

Solution:-

Software companies often provide its finished programs to other companies for free with the understanding that the other companies will use the program and report back to the software company any errors found in the program. This is called Beta testing.

Question 9

Solution:-

   The five steps performed by programmers to analyze, design, code, debug, and maintain a program is called the Program Development Life Cycle.

Question 10

Solution:-

   There are primarily two categories of programming languages: structured languages that were popular from the 1950’s through the 1980s, and Object oriented languages that are most commonly used today.

  • Object oriented languages which make use of concepts of "objects".These objects can have state or data and behaviour or code.

Related Solutions

Translate the following tasks into Hack C-Instructions: 1) Set D to A - 1 2) Set...
Translate the following tasks into Hack C-Instructions: 1) Set D to A - 1 2) Set both A and D to A + 1 3) Set D to 19 4) Set both A and D to A + D 5) Set RAM[5034] to D - 1 6) Set RAM[543] to 171 7) Add 1 to RAM[7], and store result in D 8) Add 3 to RAM[12], and store result in D
What is the purpose of the CLI and SEI instructions? What do they do, and what...
What is the purpose of the CLI and SEI instructions? What do they do, and what are they used for in a typical program?
Instructions: For each solid described, set up, BUT DO NOT EVALUATE, a single definite integral that...
Instructions: For each solid described, set up, BUT DO NOT EVALUATE, a single definite integral that represents the exact volume of the solid. You must give explicit functions as your integrands, and specify limits in each case. You do not need to evaluate the resulting integral. 1. The solid generated by rotating the region enclosed by the curves y = x^2 and y = x about the line x-axis.
Writing Assignment #1 Set of Instructions for a Website Summary of the Assignment: • Task: In...
Writing Assignment #1 Set of Instructions for a Website Summary of the Assignment: • Task: In this assignment, you will write a set of instructions that explain how to accomplish a task on a website. • Length: There is no minimum or maximum word count. However, your instructions must have 6 or more steps. More information on the number of steps is provided below. • Graphics: You must include at least one graphic for each step. o at least 6...
Task 1: This is the instructions for the previous set, where we worked with list of...
Task 1: This is the instructions for the previous set, where we worked with list of lists as character records, (there is already a solved Chegg for task 1 (J. [40 points]). I need help with the code of converting isInrecord(), AddToRecord(), createRecord(), and frequencies() from task J to use dictionaries instead of lists (as is asked in task A, which is located below the line of ########). J. [40 points] This tasks includes working with lists and lists of...
Probability and Random Processes 1. What are members of a Set called? 2. Give an example...
Probability and Random Processes 1. What are members of a Set called? 2. Give an example of countable and uncountable sets. 3. Give an example of when a Venn Diagram would be helpful. 4. Give an example when Permutations and Combination must be used.
1. What does compiling do?    A.       Manages process switching in a computer   ...
1. What does compiling do?    A.       Manages process switching in a computer    B.       Translates a source program written in a high-level language into machine language    C.       Transfers programs from memory to RAM to disk    D.       Controls the process switching between cores when a CPU has multiple cores    E.       None of these answers 2. What does the file system do?    A.       Keeps users...
“Computer programming is creating a sequence of very precise instructions written in a language a computer...
“Computer programming is creating a sequence of very precise instructions written in a language a computer understands, to perform a specified task with a computer.” Discuss in detail the concept of extreme precision in computer programming.
A customer brings you her laptop computer and tells you that it will not connect to...
A customer brings you her laptop computer and tells you that it will not connect to any Wi-Fi networks. She tells you that it was working yesterday, and that she was on the web updating her Facebook page and then downloading a coupon-shopping program. Now she cannot connect to the Internet. A friend asks you to look at his laptop computer. He tells you that any time the screen is moved, the image on the screen flickers and then goes...
The current theory of the structure of the Earth, called plate tectonics, tells us that the...
The current theory of the structure of the Earth, called plate tectonics, tells us that the continents are in constant motion. Assume that the North American continent can be represented by a slab of rock 4200 km on a side and 25 km deep and that the rock has an average mass density of 2910 kg/m3 . The continent is moving at the rate of about 1.8 cm/year. a-What is the mass of the continent? Answer in units of kg....
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT