Skip to content
Solved Assignments

Fundamentals of Programming: Syntax, Logic Structures, and Variable Management

Study of fundamental programming concepts and syntax structures.

Preview 6 of 18 pages

See the first 6 pages exactly as they appear in the document.

  1. Page 1
    Read page 1 as text

    Fundamentals of Programming: Syntax, Logic Structures, and Variable Management Discuss the importance of structured programming in the development of computer software. In your response, explain the differences between key programming structures (such as loops, conditional statements, and arrays), and provide examples of how these structures are utilized to improve the functionality and efficiency of a program. Additionally, describe the concept of modular programming, and how it facilitates teamwork and code maintenance. Be sure to include explanations of any relevant terms such as "variable names," "flowcharts," and "boolean expressions." Word Count Requirement: 400 – 500 words.

  2. Page 2
  3. Page 3
    Read page 3 as text

    the value on the left must be a variable name The problem with the following statement is that ____. 100 = grade tables A database holds a group of files, often called ____, that together serve the information needs of an organization. Syntax ____ errors are detected by a compiler. True When data items are stored for use on computer systems, they are often stored in what is known as a data hierarchy. focus the programmer takes during the earliest planning stages of a project The major difference between the two main programming styles in use today is the ____. False When designing the logic of a computer program, it is important to consider the specific syntax of a particular computer language. lozenge The ____ is the standard terminal symbol for a flowchart. desk - checking The process of walking through a program's logic on paper before you actually write the program is called ____. identifier A variable name is also called a(n) ____. pseudocode Using ____ involves writing down all the steps you will use in a program.

  4. Page 4
    Read page 4 as text

    False Alan Turing is often regarded as the first programmer. i The best choice for a variable name representing an interest rate is ____. False Professional computer programmers write programs based on their own needs. prompt A(n) ____ is a message that is displayed on a monitor, asking the user for a response. infinite loop A program with a(n) ____ never ends. coding the program After a programmer plans the logic of a program, the next step is ____. external storage A floppy disk is an example of ____. lozenge If a flowchart has six processing steps and a page provides room for only three, you can use a ____ to create the completed flowchart. declaration In some programming languages, programmers must write a variable ____ telling the compiler what data type is expected for the variable. True No matter which programming language a computer programmer uses, the language has rules governing its word usage and punctuation. get inputNumber

  5. Page 5
    Read page 5 as text

    The following pseudocode reads a number from the user, multiplies it by 2 and prints the result. The ____ program statement should replace the ? to make this program functional and structured. get inputNumber while not eof calculatedAnswer = inputNumber * 2 print calculatedAnswer ? endwhile one The maximum number of entry points that any programming structure can have is ____. spaghetti bowl One way to straighten out a flowchart segment that is not structured is to use what is called the "____" method. while ____ is an example of a pretest loop. True When you write a series of decisions using the case structure, the computer still makes a series of individual decisions. False When you use a while loop, at least one performance of the action inside the loop body always occurs. iteration Another name for a loop structure is ____. case The following pseudocode might be rewritten using a(n) ____ structure: if class = "Freshman" then tuitionFee = 75 else if class = "Sophomore" then tuitionFee = 50

  6. Page 6
    Read page 6 as text

    else if class = "Junior" then tuitionFee = 30 else tuitionFee = 10 endif endif endif sequence The following pseudocode is an example of a(n) ____ structure: get firstNumber get secondNumber add firstNumber and secondNumber print result True When you encounter an eof question in a flowchart, you know that either a selection or loop structure should begin. False With a selection structure, you perform an action or task, and then you perform the next action, in order. modules Structured programs can be easily broken down into routines or ____ that can be assigned to any number of programmers. case ____ is considered to be a convenience structure. default In a case structure, the term ____ means "if none of the other cases were true." loop The following pseudocode is an example of a(n) ____ structure: get number while number is positive

12 more pages in the full document

Unlock it once and it stays in your library, ready to chat with or turn into flashcards.

Unlock the full document
See all

Study this document with CramX

Once it is in your library, every tool can work from it.