Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please Answer each image with the corresponding question #1 through #7 . Each picture has it's question written below. (Example: Photo with #1 is question

Please Answer each image with the corresponding question #1 through #7 . Each picture has it's question written below. (Example: Photo with #1 is question starting with #1) Solve the 7 questions:
( Image #1 ) question below:
#1 What is the output if 17 is entered as input for x?
( Image #2 ) question below:
#2 Which of the following input sequences below will result in an output of 20?
Choose the Correct Answer
A. 1, 0, 22, 0, 9, 4, 1, 6, 0
B. 8, 4, 5, 10, 1, 4, 0
C. 9, 9, 9, 5, 20, 0
D. 2, 4, 10, 1, 8, 0
E. 3, 12, 5, 16
F. 2, 3, 20, 5, 16, 3, 9, 0
(Image #3 ) question below:
#3 What is the output if the input for x is 5?
(Image #4 ) question below:
#4 Given the flow chart below, what are the output for the following inputs?
Input 8 = ?
Input 5 = ?
(Image #5 ) question below:
#5 What is the output to the flow chart is 10 is entered as input?
Choose the Correct Answer
A. 10
B. 18
C. 16
D. 14
( Image #6 ) question below:
#6 What is the output of the following flow chart?
( Image #7 ) question below:
#7 What is the output if the number input is 2?
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
begin input x int sum = 0 0-1--4-17 int store = x int i = x > input End input % 2 > True False k -= input k += input start int x int sum = 0 #3 cin >> 0-0-0-0-0 # e-lh. B int i=x > True False sum > 20 False cout > True False True False cout

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Peter Rob, Carlos Coronel

3rd Edition

0760049041, 978-0760049044

More Books

Students also viewed these Databases questions