Write Pseudocode statements to Declare 4 Integers. You can decide on the variables names of each of the integers. Then, still using Pseudocode, set the values for 3 of the integers to valid integer values of your choice. In pseudocode, set the value of the 4th integer to the sum of the other 3 integers. Finally, print the output of the summed integers. Next, take your pseudocode and convert it to C code and demonstrate it runs properly in an online C compiler such as ideone.com or codetwist
Words: 256 - Pages: 2
Algorithms / Pseudocode [1 point each, 5 points total] 1. Design an algorithm that prompts the user to enter his or her height and stores the user’s input in a variable named height. Declare height Display “Enter Your Height” Input Height Display “Height” 2. Write assignment statements that perform the following operations with the variables a and b. - Adds 2 to a and stores the result in b. - Subtracts 8 from b and stores the result in a Set b=2+a Set a=b-8 3. Write a pseudocode statement
Words: 1823 - Pages: 8
Unit 6 Lab 6.1: Pseudocode Learning Objectives and Outcomes Use Boolean variables and logical operators in computer programs. Use compound logical conditions. Required Setup and Tools Standard lab setup Lab Manual Lab Demo Media and Startup Files CD Recommended Procedures Complete Lab 6.1: Pseudocode from the lab manual. Deliverables Submit the following at the end of this lab activity: The completed inputOptions() module in pseudocode in Step 1 The completed displayProvider() module
Words: 355 - Pages: 2
raw material. The purchase order will contain the details of the raw material such as the name, quantity, total cost, and vendor address. Create a flowchart and pseudocode using control breaks that enable the user to print invoices for any raw material that is selected. submit a document containing the flowchart and the pseudocode Explain how you implemented the system and describe the logic steps of the system. follow the link given below to view Solution http://goo.gl/P1vAM
Words: 956 - Pages: 4
iLab ------------------------------------------------- TCO 1: Given a simple problem, design and desk-check a solution that is expressed in terms of pseudocode, flowchart, and/or input-process-output (IPO) diagrams. iLab This exercise will cover the steps used to create a solution. You will use variable lists, IPO charts, pseudocode, flowcharts, and desk-checking. Rubric Point distribution for this activity: Lab Activity | Document | Points possible | Points received |
Words: 509 - Pages: 3
Lab 7: Repetition Structures I This lab accompanies Chapter 5 (pp. 163-183 and pp. 196-201) of Starting Out with Programming Logic & Design. Name: ___Jeffry McGee_____ Lab 7.1 –Condition Controlled with While and Do-While Loops: Pseudocode |Critical Review | |
Words: 1412 - Pages: 6
selection structure. Write a 2- to 3-page paper describing the purpose of that structure and write the pseudocode for that structure. Examine any iteration control structure. If the program you described in Week Two does not lend itself well to the inclusion of a selection structure, create a new example of a selection structure. Create a Visual Logic flowchart that parallels this pseudocode. Test the flowchart to make sure that it executes properly and produces correct results. Submit the
Words: 972 - Pages: 4
1. Structured programs use spaghetti code logic. | a. | True | | b. | False | | | | 2. In a selection structure, you perform an action or task, and then you perform the next action in order. | a. | True | | b. | False | | | | 3. Repetition and sequence are alternate names for a loop structure. | a. | True | | b. | False | | | | 4. In a structured program, any structure can be nested within another structure. | a. | True | | b. | False
Words: 1062 - Pages: 5
VBScript IP File Lab Objectives In this lab, students will complete the following objectives. * Create a VBScript program using NotePad++. * Write a two-dimensional array of IP addresses to a text file. * Read the IP Addresses text file into a script. * Append new Room/PC/IP address data to the text file. * Use the object Scripting.FileSystemObject. Lab Diagram During your session you will have access to the following lab configuration. Connecting to your lab For this
Words: 2335 - Pages: 10
1. Structured programs use spaghetti code logic. | a. | True | | b. | False | | | | 2. In a selection structure, you perform an action or task, and then you perform the next action in order. | a. | True | | b. | False | | | | 3. Repetition and sequence are alternate names for a loop structure. | a. | True | | b. | False | | | | 4. In a structured program, any structure can be nested within another structure. | a. | True | | b. | False
Words: 1129 - Pages: 5