Computer Science  >  EXAM  >  CS 1101 Programming Fundamentals - Term 2 final exam with 30 Questions & Answers. (All)

CS 1101 Programming Fundamentals - Term 2 final exam with 30 Questions & Answers.

Document Content and Description Below

What is the output of the Python code below? my_list = [3, 2, 1] print(my_list) Select one: a. 0 b. {3, 2, 1} c. None d. syntax error e. [3, 2, 1] Assume that d is a Python dictionary. What d ... oes the following Python code produce? d.items() Select one: a. a histogram b. an inverted dictionary c. a list of tuples d. a lookup e. a reverse lookup Assuming variable i has been created with value 2, what does the Python code below output? def myf(s, n): global i print(s * i * n) myf('hi-', 3) Select one: a. hi-hi-hi-hi-hi-hib. hi-hi-hic. hid. hi-hie. Syntax error An error in a program that makes it do something other than what the programmer intended is called: Select one: a. a syntax error b. a semantic error c. an exception d. a user error e. a side-e!ect A development approach that is intended to avoid a lot of debugging by only adding and testing small amounts of code at a time is called: Select one: a. structured development b. incremental development c. unit testing d. systems development life cycle [Show More]

Last updated: 10 months ago

Preview 4 out of 17 pages

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)
Loading document previews for CS 1101 Programming Fundamentals - Term 2  final exam with 30 Questions & Answers.

Loading document previews ...

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Also available in bundle (1)

Click Below to Access Bundle(s)

CS 1101 Programming Fundamentals. all terms questions and answers, practice questions with correct answers and project.

CS 1101 Programming Fundamentals. all terms questions and answers, practice questions with correct answers and project. the right A grade materials to pass.

By Professor Lynne 4 years ago

$11

13  

Reviews( 0 )

$9.00

Buy Now

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Instant download

Can't find what you want? Try our AI powered Search

166
0

Document information


Connected school, study & course


About the document


Uploaded On

Jun 07, 2021

Number of pages

17

Written in

All

Seller


Profile illustration for Professor Lynne
Professor Lynne

Member since 4 years

372 Documents Sold

Reviews Received
34
13
4
0
4
Additional information

This document has been written for:

Uploaded

Jun 07, 2021

Downloads

 0

Views

 166

More From Professor Lynne

View all Professor Lynne's documents »

Recommended For You

Get more on EXAM »

$9.00
What is Scholarfriends

Scholarfriends.com Online Platform by Browsegrades Inc. 651N South Broad St, Middletown DE. United States.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Scholarfriends · High quality services·