CMPUT174 Study Guide - Final Guide: Newline, Abracadabra, Side Effect

123 views8 pages
ceruleanzebra152 and 30 others unlocked
CMPUT174 Full Course Notes
25
CMPUT174 Full Course Notes
Verified Note
25 documents

Document Summary

Fill in the output in the blanks for the following console code. Which of my_d, my_l, and my_t are mutable: given the following dictionary, answer the following questions: pets = {"asha": "cat", Describe a scenario when you might want to use (there are many possible answers): the dictionary type, the list type, the tuple. December 7, 2012: write a function shoutify(my_text) that returns a modi ed version of my_text, where every capitalized word (except mr, ms, and dr) is replaced with the same word in all capitals. Hello there, dr evil: write a wrapper function shoutify_file(filename) that applies shoutify to the le contents. The function should save the output in a le named the same as the original in all capitals and return true if the le was written successfully and false otherwise. December 7, 2012: consider the following code: x = 0 y = 0 z = 0. Answer key (dec 7, 2012 final practice exam)

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents