Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

9 Computer Science Il: Programming B: Wrapping Up Unit 3 - Page 4 of 4 - Google Chrome connexus.com/content/chrome/online/lessonViewer.aspx?header=true&idCourse Lesson 5: Wrapping Up Unit 3

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
9 Computer Science Il: Programming B: Wrapping Up Unit 3 - Page 4 of 4 - Google Chrome connexus.com/content/chrome/online/lessonViewer.aspx?header=true&idCourse Lesson 5: Wrapping Up Unit 3 Computer Science II: Programming B Unit 3: Coding Structures Isabel Frederick is taking this assessment. 1. Python does not permit changing the value of an item in a list. (1 pour True False S ( point) DOWE 2. What is the output of this program? flavors = ["peach", "banana", "mint"] print("chocolate" in flavors - False ve True el Computer Science I: Programming B: Wrapping Up Unit 3 - Page 4 of 4 - Google Chrome .connexus.com/content/chrome/online/lessonViewer.aspx?headerstrue&idCourse Lesson 5: Wrapping Up Unit 3 Computer Science II: Programming B Unit 3: Coding Structures 3. What will be the first line of output for this program: (1 point) for i in range(3) print 1) Sm DCO Multi-dimensional arrays cannot be indexed. (1 point) Tiue False TUDOO Isabel Computer Science Il Programming B: Wrapping Up Unit 3 - Page 4 of 4 - Google Chrome connexus.com/content/chrome/online/lessonViewer.aspx?headerstrue&idCourse=86914&i Lesson 5: Wrapping Up Unit 3 Computer Science II: Programming B Unit 3: Coding Structures Apps What is the output of this program? (1 point) grades = [89, 70, 98, 100, 83] print(grades(-4) 89 70 Am ICO 98 100 6. Python indexes lists beginning with the member 1. 1 point) True False 7. Minimax, sum, and len can be used when working with lists. (1 point) OOOO sabel Computer Science lle Programming B: Wrapping Up Unit 3 - Page 4 of 4 - Google Chrome connexus.com/content/chrome/online/lessonViewer.aspx?header=true&idCourse 86914&idUnit: Lesson 5: Wrapping Up Unit 3 Computer Science II: Programming B Unit 3: Coding Structures pps 7. Min, max, sum, and len can be used when working with lists. (1 point) True False 8. Sort can only be used with numbers. (1 point) True False 9. What is the output of this program? (1 point) in_stock = ("chairs". "beds", "tables"] print(len in_stock)) an error message 0 000 X Isabel Computer Science It Programming 8: Wrapping Up Unit 3 - Page 4 of 4 - Google Chrome connexus.com/content/chrome/online/lesson Viewer.aspx?header=truedCourse=86914dUnit-70964&idless Apps Lesson 5: Wrapping Up Unit 3 Computer Science II: Programming B Unit 3: Coding Structures tables 10. Which of these statements tests to see if score is greater than or equal to 1000? (1 point) score > 1000 score >= 1000 score= 1000 score => 1000 11. A for loop has to be followed by: (2 point) an else statement S'a while loop an indented line a print statement 12. What is the output of this program? (1 point) Type here to search X Isabel Computer Science Il Programming Wrapping Up Unit Page 4 of 4 - Google Chrome connexus.com/content/chrome/online/lesson Viewer.aspx?headertrue&idCourse-86914 vidUnit70964&idLesson=7624 > Apps Lesson 5: Wrapping Up Unit 3 Computer Science I: Programming B Unit 3: Coding Structures 12. What is the output of this program? (1 point) inches_of_rain = (1,3,0,4] print(sum(inches_of_rain)) 1304 13. Which of the following is another team that means the same thing as a selection statement? (1 point) for statement while statement conditional statement NameError Type here to search Computer Science It Programming B: Wrapping Up Unit 3 - Page 4 of 4 - Google Chrome connexus.com/content/chrome/online/lessonViewer.aspx?header=true&idCourse-86914&idUnit=70964&idLess Lesson 5: Wrapping Up Unit 3 Computer Science II: Programming B Unit 3: Coding Structures 14. What is the output of this program? (1 point) shifts = ["morning". "afternoon", "evening", "overnight"] print("You are working the", shifts[2], "shift.") moming afternoon evening overnight 15. You want a loop to keep repeating until the user guesses the correct number. Which kind of loop should you use? while for comparison operator OOGO

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 Management System MCQs Multiple Choice Questions And Answers

Authors: Arshad Iqbal

1st Edition

1073328554, 978-1073328550

More Books

Students also viewed these Databases questions

Question

Do intentions affect behaviour?

Answered: 1 week ago