What is the informal language that programmers use to create models of programs that have no syntax?

(Solved): What is the informal language that programmers use to create models of programs that have no syntax ...



What is the informal language that programmers use to create models of programs that have no syntax?

What is the informal language that programmers use to create models of programs that have no syntax?

What is the informal language that programmers use to create models of programs that have no syntax?
What is the informal language that programmers use to create models of programs that have no syntax rules and are not meant to be compiled or executed? A. Flowchart B. Algorithm C. Code D. Pseudocode Imagine you have the following incomplete code: if elif elif print ("got here!") print ("got here!") print ("got here!") If a valid boolean expression was filled into each blank, what is the maximum # of times the String "got here!" could theoretically be printed? A. None B. One C. Two D. Three What will the following code print when run? x=5 y=10 print (xy) A. True B. False C. 510 D. Nothing will print Show transcribed image text What is the informal language that programmers use to create models of programs that have no syntax rules and are not meant to be compiled or executed? A. Flowchart B. Algorithm C. Code D. Pseudocode
Imagine you have the following incomplete code: if elif elif print ("got here!") print ("got here!") print ("got here!") If a valid boolean expression was filled into each blank, what is the maximum # of times the String "got here!" could theoretically be printed? A. None B. One C. Two D. Three
What will the following code print when run? x=5 y=10 print (xy) A. True B. False C. 510 D. Nothing will print

We have an Answer from Expert

View Expert Answer

Get Expert Solution


Answer to What is the informal language that programmers use to create models of programs that have no syntax rules and are not me...

We have an Answer from Expert

Buy This Answer $5

Place Order

Suggest a new Definition

Proposed definitions will be considered for inclusion in the Economictimes.com


Definition: Pseudocode is an informal way of programming description that does not require any strict programming language syntax or underlying technology considerations. It is used for creating an outline or a rough draft of a program. Pseudocode summarizes a program’s flow, but excludes underlying details. System designers write pseudocode to ensure that programmers understand a software project's requirements and align code accordingly.

Description: Pseudocode is not an actual programming language. So it cannot be compiled into an executable program. It uses short terms or simple English language syntaxes to write code for programs before it is actually converted into a specific programming language. This is done to identify top level flow errors, and understand the programming data flows that the final program is going to use. This definitely helps save time during actual programming as conceptual errors have been already corrected. Firstly, program description and functionality is gathered and then pseudocode is used to create statements to achieve the required results for a program. Detailed pseudocode is inspected and verified by the designer’s team or programmers to match design specifications. Catching errors or wrong program flow at the pseudocode stage is beneficial for development as it is less costly than catching them later. Once the pseudocode is accepted by the team, it is rewritten using the vocabulary and syntax of a programming language. The purpose of using pseudocode is an efficient key principle of an algorithm. It is used in planning an algorithm with sketching out the structure of the program before the actual coding takes place.

Advantages of pseudocode –

• Pseudocode is understood by the programmers of all types.

• it enables the programmer to concentrate only on the algorithm part of the code development.

• It cannot be compiled into an executable program. Example, Java code : if (i < 10) { i++; } pseudocode :if i is less than 10, increment i by 1.

  • PREV DEFINITION

  • NEXT DEFINITION

Review Questions

Nội dung chính

  • Multiple Choice
  • Is an informal language that has no syntax rules and is not meant to be compiled or executed?
  • What is the informal language that programmers use to create models of programs that have no syntax rules and are not meant to be compiled or executed?
  • What is the informal language used by programmers use to create models of programs that has no syntax?
  • What is the informal language that programmers use to describe program function?

Multiple Choice

1. A ---error does not prevent the program from running, but causes it to preduce in( yrxfz:- -tsu^', syntax b. hardware c. logic d. fatal

2. A-is a single function that the program must perform in order to satisfy the customer.

a. task b. software requirement c. iite

3. A(u/--is a set of well-defined logical steps that must be taken to perform a k.

logarithn b. Dlan of artinn c. logic schedule algorithn

4. An informal language that has no syntax rules, and is not meant to be compiled or executed is called----..

a. faux code b. pseudocode c. Python d. a flowchart

5. A _ is a diagram that graphically depicts rhe steps that take place in a program.

a. flowchart b. step chart c. code graph d. program graph

6. A_is a sequence of characters.

a. char sequence b. character collection c. string d. text block

7. A-is a name that references a value in the computer's memory.

a. variable b. register c. RAM slot d. byte

8. A_is any hypothetical person using a program and providing input for it, a. designer b. user c. guinea pig d. test subject

9. A string literal in Python must be enclosed in a. parentheses b. single-quotes c. double-quotes d. either single-quotes or double-quotes

10. Short notes placed in different parts of a program explaining how those parts of the program work are called__

a. comments b. reference manuals c. tutorials d. external documentation

11. A(n)_makes a variable reference a value in the computer's memory.

a. variable declaration b. assignment statement c. math expression d. string literal

12. This symbol marks the beginning of a comment in Python.

13. Which of the following statements will cause an error?

14. In the expression 12 + 7, the values on the right and left of the + symbol are called_____

a. operands b. operators c. arguments d. math expressions

15. This is an operator that raises a number to a power.

16. This operator performs division, but instead of returning the quotient it returns the remainder.

17. Suppose the following statement is in a program: price = 99.0. After this statement executes, the price variable will reference a value of this data type.

a. int b. float c. currency d. str

18. This built-in function can be used to read a number that has been typed on the keyboard.

d. keyboard{)

19. This buiit-in function can be used ro convert an int value to a float.

20. This is the string format operator.

True or False

1. Programmers must be careful not to make syntax errors when writing pseudocode programs.

2. In a math expression, multiplication and division rakes place before addition and subtraction.

3. Variable names can have spaces in them.

4. In Python the first character of a variable name cannot be a number,

5. If you print a variable that has not been assigned a value, the number 0 will be displayed.

Short Answer

1. What does a professional programmer usually do first to gain an understanding of a problem?

2. What is pseudocode?

3. Computer programs typically perform what three steps?

4. Jf a math expression adds a float to an int, what will the data type of the result be?

5. How can the following statement be modified to make sure integer division does not take place?

Algorithm Workbench

1. Write Python code that prompts the user to enter his or her height and assigns the user's input to a variable named height.

2. Write Python code that prompts the user to enter his or her favorite color and assigns the user's input to a variable named color.

3. Write assignment statements that perform the following operations with the variables a, b, and c.

a. Adds 2 to a and assigns the result to b b. Multiplies b times 4 and assigns the result to a c. Divides a by 3.14 and assigns the result to b d. Subtracts 8 from b and assigns the result to a

4. Assume the variables result, w, x, y, and z are all integers, and that w = 5, x = 4, y = 8, and z = 2. What value will be stored in result after each of the following statements execute?

5. Write a Python statement that assigns the sum of 10 and 14 to the variable total.

6. Write a Python statement that subtracts the variable down payment from the variable total and assigns the result to the variable due.

7. Write a Python statement that multiplies the variable subtotal by 0.15 and assigns the result to the variable total.

8. What would the following display? a = 5

9. What would the following display? num = 99

num = 5 print num

10. Assume the variable sales references a float value. Write a statement that displays the value rounded to two decimal points.

Continue reading here: Last Month Joe Purchased Some Stock In Acme Software Inc.

Was this article helpful?

Is an informal language that has no syntax rules and is not meant to be compiled or executed?

Pseudocode is the informal language that we sometimes use to sketch out the structure of our code before actually writing it up with the correct language-specific syntax.

What is the informal language that programmers use to create models of programs that have no syntax rules and are not meant to be compiled or executed?

Introduction to Programming 02.

What is the informal language used by programmers use to create models of programs that has no syntax?

Programmers use pseudocode to create 'mock-ups' of programs because they do not have to worry about syntax rules.

What is the informal language that programmers use to describe program function?

Definition: Pseudocode is an informal way of programming description that does not require any strict programming language syntax or underlying technology considerations.

What is the informal language used by programmers use to create models of programs that has no syntax rules and is not meant to be compiled or Execu?

Definition: Pseudocode is an informal way of programming description that does not require any strict programming language syntax or underlying technology considerations. It is used for creating an outline or a rough draft of a program.

What is the informal language that programmers use to create models of programs that have no syntax rules and are not meant to be compiled or executed quizlet?

Programmers use pseudocode to create 'mock-ups' of programs because they do not have to worry about syntax rules.

What is a pseudocode in programming?

Pseudocode is an artificial and informal language that helps programmers develop algorithms. Pseudocode is a "text-based" detail (algorithmic) design tool. The rules of Pseudocode are reasonably straightforward. All statements showing "dependency" are to be indented. These include while, do, for, if, switch.

What are the 4 types of computer programming language?

The 4 types of Programming Language that are classified are:.
Procedural Programming Language..
Functional Programming Language..
Scripting Programming Language..
Logic Programming Language..
Object-Oriented Programming Language..