Question

Please answer all question and specify each answer to a question. Which pseudocode keyword would you...

Please answer all question and specify each answer to a question.

Which pseudocode keyword would you use in each scenario?

Group of answer choices

1) Display “Hello world”

      [ Choose ]            WHILE            INT            FOR            GET            WRITE            IF            DO            FOREACH            PUT            SWITCH            PRINT            INPUT            X (multiplication)            <-      

2) Prompt the user for his/her age

      [ Choose ]            WHILE            INT            FOR            GET            WRITE            IF            DO            FOREACH            PUT            SWITCH            PRINT            INPUT            X (multiplication)            <-      

3) Set a variable to zero

      [ Choose ]            WHILE            INT            FOR            GET            WRITE            IF            DO            FOREACH            PUT            SWITCH            PRINT            INPUT            X (multiplication)            <-      

4) Convert feet to meters

      [ Choose ]            WHILE            INT            FOR            GET            WRITE            IF            DO            FOREACH            PUT            SWITCH            PRINT            INPUT            X (multiplication)            <-      

5) Choose between “Mr.” if male and “Mrs.” if female

      [ Choose ]            WHILE            INT            FOR            GET            WRITE            IF            DO            FOREACH            PUT            SWITCH            PRINT            INPUT            X (multiplication)            <-      

6) Count from 1 to 10

Homework Answers

Answer #1

1)To dislplay hello word You will use PRINT keyword

since display operation is use to print the value so PRINT keyword is use for that

2)To take user innput for asking his/her age yoy want to take input from user so INPUT keyword is meant for that

3)to set the variable <- is used

4) you can use DO to Convert feet to meters

eg. DO meter<- 0.3048*feet

5)you can use IF keyword to choose between Mr and Ms eg. if(male) PRINT(Mr) if(female) PRINT(Ms)

6)to count from 1 to 10 you can use FOR or WHILE eg. for(i<-1 to 10) count++;

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Please answer the following C question: There is a documented prototype for a function called get_a_line...
Please answer the following C question: There is a documented prototype for a function called get_a_line in the code below. Write a definition for get_a_line—the only function called from that definition should be fgetc. #include <stdio.h> #include <string.h> #define BUFFER_ARRAY_SIZE 10 int get_a_line(char *s, int size, FILE *stream); // Does what fgets does, using repeated calls to fgetc, but // provides a more useful return value than fgets does. // // REQUIRES // size > 1. // s points to...
Please write a program that reads the file you specify and calculates how many times each...
Please write a program that reads the file you specify and calculates how many times each word stored in the file appears. However, ignore non-alphabetic words and convert uppercase letters to lowercase letters. For example, all's, Alls, alls are considered to be the same words. What is the output of the Python program when the input file is specified as "proverbs.txt"? That is, in your answer, include the source codes of your word counter program and its output. <proverbs.txt> All's...
##4. What will the following program display? ##def main(): ## x = 1 ## y =...
##4. What will the following program display? ##def main(): ## x = 1 ## y = 3.4 ## print(x, y) ## first printing ## change_us(x, y) ## print(x, y) ##second printing ## ##def change_us(a, b): ## a = 0 ## b = 0 ## print(a, b) ## ##main() ## ##Yes, yes, main() displays ##1 3.4 ##0 0 ##1 3.4 ## The question is: why x and y are still the same while the second printing of (x,y)? ## It seems...
QUESTION 1 What does the following code segment output? int red, blue; red = 7; blue...
QUESTION 1 What does the following code segment output? int red, blue; red = 7; blue = red + 2 * 5 red++; blue = blue + red; cout << blue; 4 points    QUESTION 2 Is the following statement true or false? The Boolean expression in the following if statement will be true for all values of x in the range from 10 to 20 (including the endpoints) and false for all other values: int x; if (x >=...
Java question, Please answer everything. Thank you Answer the following questions as briefly (but completely) as...
Java question, Please answer everything. Thank you Answer the following questions as briefly (but completely) as possible: What is a checked exception, and what is an unchecked exception? What is NullPointerException? Which of the following statements (if any) will throw an exception? If no exception is thrown, what is the output? 1: System.out.println( 1 / 0 ); 2: System.out.println( 1.0 / 0 ); Point out the problem in the following code. Does the code throw any exceptions? 1: long value...
If you cant answer this please dont waste my question. thank you. This cryptographic program run...
If you cant answer this please dont waste my question. thank you. This cryptographic program run and produce text screen output. You are to create a GUI that uses the program. Your program (GUI) must allow a user to input of a message to be coded. It must also have an area to show the plaintext, the ciphertext, and the decrypted text. If required by your choice of cryptographic method, the user should have an area to input a key....
is there anything wrong with the solution. the question are from java course Write a main...
is there anything wrong with the solution. the question are from java course Write a main method that will request the user to enter Strings using a JOptionPane input dialog. The method should continue accepting strings until the user types “STOP”.       Then, using a JOptionPane message dialog, tell the user how many of the strings begin and end with a digit. Answer: import javax.swing.*; public class IsAllLetters {     public static void main(String[] args) {         String input;         int count =...
Please follow ALL the instructions and solve it by C++. Please and thank you! There are...
Please follow ALL the instructions and solve it by C++. Please and thank you! There are two ways to write loops: (1) iterative, like the for-loops we're used to using, and (2) recursive. Your prerequisite preparation for this course should have exposed you to both, although your working knowledge of recursive loops may not be as strong as that of iterative loops. Consider the following iterative function that prints an array of characters backward: #include <iostream> #include <cstring> // print...
Please answer all questions. Question 5,6,7,8,9, and 10. Question 5 Which of the following is an...
Please answer all questions. Question 5,6,7,8,9, and 10. Question 5 Which of the following is an example of fixed ratio reinforcement schedule? Answers:          A. gambling at a slot machine B. checking your e-mail at random times throughout the day instead of every time you hear the new e-mail notification C. feeding your fish every day at 8 a.m. D. knowing you will get to play miniature golf as soon as you collect 10 gold stars for your reward chart Question...
For each multiple-choice question choose one answer that best answers the question. You must also provide...
For each multiple-choice question choose one answer that best answers the question. You must also provide your rationale for choosing the answer you did.   When it comes to eyewitness identifications in police lineups, sequential lineups are generally preferred to simultaneous lineups—especially when witnesses ____. A. do not know how many people are in the lineup B. are told in advance how many people are in the lineup C. are asked to rate the similarity of each person in the lineup...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT