Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Dard COSC 1436 Exercise Sheet 3 Predict the outcome of each program. If the program has an error, state the reas my number - 10

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Dard COSC 1436 Exercise Sheet 3 Predict the outcome of each program. If the program has an error, state the reas my number - 10 print (my number) my number - 12 my number - 12.2 print (my number) my number - 12 print my number my number - 12.7 print my number Snumber - 10 print number x11.05 False 5.6 333 words O Focus print (x Y - D x + 1 - print (x) print (y) x = 100 yx + 10 print (x) print (y) 10. numberl = 10 number 2 - 15 numberl - numberl - 2 print (number1) number2 = numberl + 25 print (number2) numberl = number2 / numberi print (numeri) number2 = numberi number1 = number2 print (numberi) print (number2) x - 10.4 + 4/5 print (x) X - 75 / (- 7.0) printix) 13. x = 1.0 print x) 5 5 .0 14. X - X print x) print (15 + 16) 16. print("ABC" + "DEF) - 10 a = a + 2 print(a) print (b) * - Hello WGood X - "Day - print X print) text = "If you smell what the Rock is cooking... print (text) text = "It you smell what the Rock is cooking..." print (text) text = "If you smell what the Rock 18 cooking... print("text) 22. text - "If you smell what the Rock is cooking..." Print (text) text - "If you well what the Rock is cooking..." printText) text - "If you smell what the Rock is cooking..." prin Text 25. a - 10 ba aa *2 print (a, b) b - + 2 a = b + 2 print(a, b) print 3 + 5 * 6) print(3 + 5) * 6) x - 1 + print x) 2 + 3 2 / 4 2 + 3) - 2 X = 1 + print x) Puent x)

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

Informix Database Administrators Survival Guide

Authors: Joe Lumbley

1st Edition

0131243144, 978-0131243149

More Books

Students also viewed these Databases questions

Question

List the functions that are served by short-term memory.

Answered: 1 week ago