Mark

Mark

COMP560 W3 ZyCh6_lists

1) What is a list in Python?A) a container that stores a collection of elements that are arranged in a linear or sequential order 2) Given the following list, what value is at index 5? A) 6 3) Consider the following line…

COMP560 W2 ZyCh2_NumberString

1) To store a value for later use in Python, the programmer needs to create a:A) variable2) How is a value stored in a variable?A) an assignment statement3) What is the value of the variable num after the following code snippet? A)…

COMP560 W2 Zych4_loops

1) How many times will the following loop run? i = 0 while i < 10 :    print(i)    i = i + 1 A) 10 2) How many times does the code snippet given below display “Loop Execution”?…

COMP560 Final Quiz

1) What is printed by the following code snippet? A) The answers are: 10 11 2) Although the following code statement is valid, print(10/0), what will happen when this code is executed?A) The error message ZeroDivisionError: int division or modulo by zero is…

COMP560 Zylabs W2

2.8.1: Calculate the length of this string literal. 2.8.2: Test your understanding of strings. 2.8.3: Test your understanding of concatenation. 2.8.4: Determine the result from each of the following string operations. 2.8.5: What is printed by the following code segment? 2.8.6: Test your understanding of converting…

COMP560 Zylabs W1

1.1.1: What is computer equipment called? 1.1.2: What does it take to write a complex program? 1.2.1: What part of the computer executes instructions? 1.2.2: What type of storage persists without electricity? 1.4.1: What consists of a large number of simple CPU instructions? 1.4.2: Determine what…

COMP560 W2 Zych3_Decisions

1. What statement is used to implement a decision? A) if 2. What are the two parts of an if statement?A) A condition and a body3. Which of the following statements is true about the if statement?A) The else block is optional. 4.…

MBA5121 Chapter 13

1. The Regal Cycle Company manufactures three types of bicycles—a dirt bike, a mountain bike, and a racing bike. Data on sales and expenses for the past quarter follow:   Total Dirt Bikes Mountain Bikes Racing Bikes Sales $ 919,000…

COMP560 W1 Quiz

A) Good Morning Class ! 2. An integrated development environment bundles tools for programming into a unified application. What kinds of tools are usually included?A) An editor and an interpreter 3. A computer program is a sequence of:A) instructions and decisions. 4.…

MKTG530 1.3 Exam: Market Analysis

1.In strategic marketing, what does ‘differentiation’ mean?A) Developing a unique product or service feature that sets it apart from competitors 2.Predictor variables for regression analysis are likely to include all except:A) Digital platforms 3.Which is not one of the four…