Question

х сув мм Full Name (Print please) ITM 330 Final Exam. Fall 2018 Multiple Choice (questions 1- 41,2 points each. Mark your ans

0 0
Add a comment Improve this question Transcribed image text
Answer #1

(1)Number of time while loop iterate depends upon number entered by user.
if number is non-zero than it will run more times
otherwise it run Zero time
option-C

(2)Pseudocode is an artificial language used to develop algorithms.

(3)(b)developing the algorithm for the solution
(4)while loop stop executing if condition is false
option(c)'python'<'Python' is false because 'python'>'Python'

(5)Number of arguments in function range is 1,2,3
option b and c are true

(6)it return string index of ('way!') in string 'Not way!' = 4
option -c
(7)
square = 4
def main():
square = 2
square/=square
print(int(square))

main()
it will output =1 option(a)

(8)
i=3
pattern = 'z'*(5%i)
5%3 = 2
pattern = 'z'*2
pattern = 'zz'
option = (b)

Add a comment
Know the answer?
Add Answer to:
х сув мм Full Name (Print please) ITM 330 Final Exam. Fall 2018 Multiple Choice (questions...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1,4,5 Multiple Choice (Find Output or Fix Error) 1. What will be the final value of...

    1,4,5 Multiple Choice (Find Output or Fix Error) 1. What will be the final value of product 7、 inta,b; Given above code, what will be the value of a andb if user types: 31 42 nt producr- 3, product 3 prodct while (product70) a) 81 31 What is the output of the following code? char Grade8 27 8. d) Error in do-while code 2. This loop is a good choice when you know how many times you want the loop...

  • Please answer fast with the multiple choice answers only. Thanks a lot 28. Select all of...

    Please answer fast with the multiple choice answers only. Thanks a lot 28. Select all of the function calls that result in this output 32. What is the output of the following? while True: tom dick if 19620: break print(i) harry a) print('tom Andick nharry b) print("'tomdickharry c) print('tom ndickinharry) a) 1 b) 12 c) 123456 d) 13 57911 d) printl'tom dick harry) 33. What is the output of the following? x "abcdef while i in x: a) no output...

  • Please answer all multiple choice All questions need to be answered! Questions 1-20 are multiple choice...

    Please answer all multiple choice All questions need to be answered! Questions 1-20 are multiple choice questions. Please mark the correct circle on the Scantron form. Only the Scantron form will be graded. Scantron must be filled in before time is called Which of the following acids is not a strong acid? 5 HI b. HBr to SEHNO, HF HESO. Venter 2. Which of the following is an example of an empirical formula: a Cs Ho HO LP Fea(SO) d)...

  • S1I Summer 09 Page 7 Practice Final Exam (30 points) Fill in the blanks to complete...

    S1I Summer 09 Page 7 Practice Final Exam (30 points) Fill in the blanks to complete the following recursive program It should print a pattern like the one below, using System.out.printin. The argument, lines, says how many lines long the pattern should be. Assume you have a method String nspaces(n) which returns a string containing n spaces. CYou should not write nspaces.) Here is the pattern when lines is 4. The first line VI. name has one space before the...

  • Exam Math 241 Final Exam Spring 2019 Name INSTRUCTIONS 1. Write your name on the test paper and your scantron 2. Turn your cell phones off during exam time 3, print your name MULTIPLE CHOICE. Cho...

    Exam Math 241 Final Exam Spring 2019 Name INSTRUCTIONS 1. Write your name on the test paper and your scantron 2. Turn your cell phones off during exam time 3, print your name MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Find the absolute extreme values of the function on the interval. 1) g(x)-9-6x2, -3sxs5 A) absolute maximum is 54 at x-0: absolute minimum is-45 at x--3 B) absolute maximum is 9 atx...

  • Answer the following multiple choice questions: 1) What is scope? a. The region between curly braces....

    Answer the following multiple choice questions: 1) What is scope? a. The region between curly braces. b. The region of code where a name can be used to reference a piece of data. c. The name for a piece of memory that holds a value. d. The abstraction of a concept that is important to remember. 2) Which of the following is not an Object Oriented concept? a. Procedure Calling. b. Inheritance. c. Access Specifiers. d. None of the above....

  • Print Your Full Name A dielectric slab is slowly inserted the capacitor is connected to a...

    Print Your Full Name A dielectric slab is slowly inserted the capacitor is connected to a battery. As it is being inserted: s. between the plates of a parallel plate capacitor while (A) The capacitance, the potential difference between the plates, and the charge on the positive plate all increase. (B) The capacitance, the potential difference between the plates, and the charge on the (C) The potential difference between the plates increases, the charge on the positive plate (D) The...

  • Python Language Problems 1. isdigit() A. Returns True if this string is just a digit. B....

    Python Language Problems 1. isdigit() A. Returns True if this string is just a digit. B. Returns True if this string contains only number characters. C. Return True if this string has at least one number character. D. is not a valid function. 2. Pick the most accurate interpretation for the if construct: if letter in words: print("Got it") A. If the character letter existed in the string words, it prints "Got it". B. It traverse through the string words,...

  • 3. [Multiple Choice Questions (4 points per question, 32 points in total): Please answer the following...

    3. [Multiple Choice Questions (4 points per question, 32 points in total): Please answer the following questions. 3.1 There is a random variable X with observations 3.5 Which of the following is implied from the law [X,,X2,...,X). It is known that these observations follow the normal distribution with mean μ and variance σ2. Which of the following will lead to a c? of large numbers? (a) If we have a sufficiently large number of observations, its sample mean is close...

  • Multiple Choice Multiple Choice Section 4.1 Pointers and Dynamic Memory Consider the following statements: int *p;...

    Multiple Choice Multiple Choice Section 4.1 Pointers and Dynamic Memory Consider the following statements: int *p; int i; int k; i = 42; k = i; p = &i; After these statements, which of the following statements will change the value of i to 75? A. k = 75; B. *k = 75; C. p = 75; D. *p = 75; E. Two or more of the answers will change i to 75. Consider the following statements: int i =...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT