93 Pages

modules

Course: MCS 260, Fall 2008
School: Ill. Chicago
Rating:
 
 
 
 
 

Word Count: 9736

Document Preview

260 MCS L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Outline 1 Modular Design Python Implementation the modules main program: quiz.py namespaces in Python multiple choice quiz bottom-up design 2 Python Implementation The Software Cycle quality of product and process waterfall and spiral model the modules main program: quiz.py namespaces in Python 3 The Software Cycle Summary +...

Register Now

Unformatted Document Excerpt

Coursehero >> Illinois >> Ill. Chicago >> MCS 260

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
260 MCS L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Outline 1 Modular Design Python Implementation the modules main program: quiz.py namespaces in Python multiple choice quiz bottom-up design 2 Python Implementation The Software Cycle quality of product and process waterfall and spiral model the modules main program: quiz.py namespaces in Python 3 The Software Cycle Summary + Assignments quality of product and process waterfall and spiral model 4 Summary + Assignments MCS 260 Lecture 19 Introduction to Computer Science Jan Verschelde, 8 October 2008 MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design modular design software cycle & quality 1 Modular Design Python Implementation the modules main program: quiz.py namespaces in Python multiple choice quiz bottom-up design 2 Python Implementation The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments the modules main program: quiz.py namespaces in Python 3 The Software Cycle quality of product and process waterfall and spiral model 4 Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Multiple Choice Quiz problem specication Python Implementation the modules main program: quiz.py namespaces in Python To test our knowledge of computer science concepts, we would like an automatic multiple choice quiz. Our friend the computer will 1 2 3 4 5 The Software Cycle quality of product and process waterfall and spiral model show a question with multiple possible answers wait for us to make a choice immediately evaluate our choice ask us if we want to continue at the end print how well we did Summary + Assignments Wanted: a small but extendable program. MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Multiple Choice Quiz problem specication Python Implementation the modules main program: quiz.py namespaces in Python To test our knowledge of computer science concepts, we would like an automatic multiple choice quiz. Our friend the computer will 1 2 3 4 5 The Software Cycle quality of product and process waterfall and spiral model show a question with multiple possible answers wait for us to make a choice immediately evaluate our choice ask us if we want to continue at the end print how well we did Summary + Assignments Wanted: a small but extendable program. MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Multiple Choice Quiz problem specication Python Implementation the modules main program: quiz.py namespaces in Python To test our knowledge of computer science concepts, we would like an automatic multiple choice quiz. Our friend the computer will 1 2 3 4 5 The Software Cycle quality of product and process waterfall and spiral model show a question with multiple possible answers wait for us to make a choice immediately evaluate our choice ask us if we want to continue at the end print how well we did Summary + Assignments Wanted: a small but extendable program. MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Multiple Choice Quiz problem specication Python Implementation the modules main program: quiz.py namespaces in Python To test our knowledge of computer science concepts, we would like an automatic multiple choice quiz. Our friend the computer will 1 2 3 4 5 The Software Cycle quality of product and process waterfall and spiral model show a question with multiple possible answers wait for us to make a choice immediately evaluate our choice ask us if we want to continue at the end print how well we did Summary + Assignments Wanted: a small but extendable program. MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Multiple Choice Quiz problem specication Python Implementation the modules main program: quiz.py namespaces in Python To test our knowledge of computer science concepts, we would like an automatic multiple choice quiz. Our friend the computer will 1 2 3 4 5 The Software Cycle quality of product and process waterfall and spiral model show a question with multiple possible answers wait for us to make a choice immediately evaluate our choice ask us if we want to continue at the end print how well we did Summary + Assignments Wanted: a small but extendable program. MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Multiple Choice Quiz problem specication Python Implementation the modules main program: quiz.py namespaces in Python To test our knowledge of computer science concepts, we would like an automatic multiple choice quiz. Our friend the computer will 1 2 3 4 5 The Software Cycle quality of product and process waterfall and spiral model show a question with multiple possible answers wait for us to make a choice immediately evaluate our choice ask us if we want to continue at the end print how well we did Summary + Assignments Wanted: a small but extendable program. MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Multiple Choice Quiz problem specication Python Implementation the modules main program: quiz.py namespaces in Python To test our knowledge of computer science concepts, we would like an automatic multiple choice quiz. Our friend the computer will 1 2 3 4 5 The Software Cycle quality of product and process waterfall and spiral model show a question with multiple possible answers wait for us to make a choice immediately evaluate our choice ask us if we want to continue at the end print how well we did Summary + Assignments Wanted: a small but extendable program. MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design A Screen Shot a rst prototype Python Implementation the modules main program: quiz.py namespaces in Python The main program quiz.py, executed at the prompt $: $ python quiz.py The octal system has base ... 1. 16 2. 8 3. 10 4. 2 type a number between 1 and 4 : 2 this is the correct answer continue ? (y/n) n #correct : 1 #wrong : 0 -> 100.00% The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Tools for Use what does Python provide? Python Implementation the modules main program: quiz.py namespaces in Python Python provides 1 2 3 4 5 a command line or Python shell environment data structures: lists, tuples, and dictionaries if-elif-else, loops, and functions random number generators in the module random our modules will reect our bottom-up design The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments What is there at the bottom of our program? MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Tools for Use what does Python provide? Python Implementation the modules main program: quiz.py namespaces in Python Python provides 1 2 3 4 5 a command line or Python shell environment data structures: lists, tuples, and dictionaries if-elif-else, loops, and functions random number generators in the module random our modules will reect our bottom-up design The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments What is there at the bottom of our program? MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Tools for Use what does Python provide? Python Implementation the modules main program: quiz.py namespaces in Python Python provides 1 2 3 4 5 a command line or Python shell environment data structures: lists, tuples, and dictionaries if-elif-else, loops, and functions random number generators in the module random our modules will reect our bottom-up design The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments What is there at the bottom of our program? MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Tools for Use what does Python provide? Python Implementation the modules main program: quiz.py namespaces in Python Python provides 1 2 3 4 5 a command line or Python shell environment data structures: lists, tuples, and dictionaries if-elif-else, loops, and functions random number generators in the module random our modules will reect our bottom-up design The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments What is there at the bottom of our program? MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Tools for Use what does Python provide? Python Implementation the modules main program: quiz.py namespaces in Python Python provides 1 2 3 4 5 a command line or Python shell environment data structures: lists, tuples, and dictionaries if-elif-else, loops, and functions random number generators in the module random our modules will reect our bottom-up design The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments What is there at the bottom of our program? MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Tools for Use what does Python provide? Python Implementation the modules main program: quiz.py namespaces in Python Python provides 1 2 3 4 5 a command line or Python shell environment data structures: lists, tuples, and dictionaries if-elif-else, loops, and functions random number generators in the module random our modules will reect our bottom-up design The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments What is there at the bottom of our program? MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design modular design software cycle & quality 1 Modular Design Python Implementation the modules main program: quiz.py namespaces in Python multiple choice quiz bottom-up design 2 Python Implementation The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments the modules main program: quiz.py namespaces in Python 3 The Software Cycle quality of product and process waterfall and spiral model 4 Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Bottom of our Program A multiple choice quiz consists of 1 2 Python Implementation the modules main program: quiz.py namespaces in Python questions that have short answers; answers, correct ones and variations. Every question and answer will be a string. Dictionaries seem very appropriate: 1 The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments the questions are numbered, key = number, the values are strings answers for the corresponding question have the same key as the question answers are dictionaries of dictionaries convention: correct answer comes rst 2 3 4 MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Bottom of our Program A multiple choice quiz consists of 1 2 Python Implementation the modules main program: quiz.py namespaces in Python questions that have short answers; answers, correct ones and variations. Every question and answer will be a string. Dictionaries seem very appropriate: 1 The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments the questions are numbered, key = number, the values are strings answers for the corresponding question have the same key as the question answers are dictionaries of dictionaries convention: correct answer comes rst 2 3 4 MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Bottom of our Program A multiple choice quiz consists of 1 2 Python Implementation the modules main program: quiz.py namespaces in Python questions that have short answers; answers, correct ones and variations. Every question and answer will be a string. Dictionaries seem very appropriate: 1 The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments the questions are numbered, key = number, the values are strings answers for the corresponding question have the same key as the question answers are dictionaries of dictionaries convention: correct answer comes rst 2 3 4 MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Bottom of our Program A multiple choice quiz consists of 1 2 Python Implementation the modules main program: quiz.py namespaces in Python questions that have short answers; answers, correct ones and variations. Every question and answer will be a string. Dictionaries seem very appropriate: 1 The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments the questions are numbered, key = number, the values are strings answers for the corresponding question have the same key as the question answers are dictionaries of dictionaries convention: correct answer comes rst 2 3 4 MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Bottom of our Program A multiple choice quiz consists of 1 2 Python Implementation the modules main program: quiz.py namespaces in Python questions that have short answers; answers, correct ones and variations. Every question and answer will be a string. Dictionaries seem very appropriate: 1 The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments the questions are numbered, key = number, the values are strings answers for the corresponding question have the same key as the question answers are dictionaries of dictionaries convention: correct answer comes rst 2 3 4 MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Bottom of our Program A multiple choice quiz consists of 1 2 Python Implementation the modules main program: quiz.py namespaces in Python questions that have short answers; answers, correct ones and variations. Every question and answer will be a string. Dictionaries seem very appropriate: 1 The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments the questions are numbered, key = number, the values are strings answers for the corresponding question have the same key as the question answers are dictionaries of dictionaries convention: correct answer comes rst 2 3 4 MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Other Modules We separate the functionalities: 1 2 Python Implementation the modules main program: quiz.py namespaces in Python generating questions and evaluating answers; showing questions and asking answers. Two modules of functions: questions and dialogue. Both modules import the Q&A dictionary and export their functions to the main program. The formulation of questions and answers is centralized in the Q&A dictionary. A multiple choice question then consists of 1 2 The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments the number of the question; a permutation of the answers. In Python we use a tuple, e.g.: (3,[2,1,3,4]). MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Other Modules We separate the functionalities: 1 2 Python Implementation the modules main program: quiz.py namespaces in Python generating questions and evaluating answers; showing questions and asking answers. Two modules of functions: questions and dialogue. Both modules import the Q&A dictionary and export their functions to the main program. The formulation of questions and answers is centralized in the Q&A dictionary. A multiple choice question then consists of 1 2 The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments the number of the question; a permutation of the answers. In Python we use a tuple, e.g.: (3,[2,1,3,4]). MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Other Modules We separate the functionalities: 1 2 Python Implementation the modules main program: quiz.py namespaces in Python generating questions and evaluating answers; showing questions and asking answers. Two modules of functions: questions and dialogue. Both modules import the Q&A dictionary and export their functions to the main program. The formulation of questions and answers is centralized in the Q&A dictionary. A multiple choice question then consists of 1 2 The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments the number of the question; a permutation of the answers. In Python we use a tuple, e.g.: (3,[2,1,3,4]). MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Other Modules We separate the functionalities: 1 2 Python Implementation the modules main program: quiz.py namespaces in Python generating questions and evaluating answers; showing questions and asking answers. Two modules of functions: questions and dialogue. Both modules import the Q&A dictionary and export their functions to the main program. The formulation of questions and answers is centralized in the Q&A dictionary. A multiple choice question then consists of 1 2 The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments the number of the question; a permutation of the answers. In Python we use a tuple, e.g.: (3,[2,1,3,4]). MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Other Modules We separate the functionalities: 1 2 Python Implementation the modules main program: quiz.py namespaces in Python generating questions and evaluating answers; showing questions and asking answers. Two modules of functions: questions and dialogue. Both modules import the Q&A dictionary and export their functions to the main program. The formulation of questions and answers is centralized in the Q&A dictionary. A multiple choice question then consists of 1 2 The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments the number of the question; a permutation of the answers. In Python we use a tuple, e.g.: (3,[2,1,3,4]). MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Other Modules We separate the functionalities: 1 2 Python Implementation the modules main program: quiz.py namespaces in Python generating questions and evaluating answers; showing questions and asking answers. Two modules of functions: questions and dialogue. Both modules import the Q&A dictionary and export their functions to the main program. The formulation of questions and answers is centralized in the Q&A dictionary. A multiple choice question then consists of 1 2 The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments the number of the question; a permutation of the answers. In Python we use a tuple, e.g.: (3,[2,1,3,4]). MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Modular Design At the bottom: the Q&A dictionary. Two libraries of functions: questions and dialogue. Python Implementation the modules main program: quiz.py Summary + Assignments Q&A dictionary Information Hiding: the main program does not import the Q&A dictionary. waterfall and spiral model quality of product and process generate questions dialogue with user The Software Cycle namespaces in Python automated quiz MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Modular Design At the bottom: the Q&A dictionary. Two libraries of functions: questions and dialogue. Python Implementation the modules main program: quiz.py Summary + Assignments Q&A dictionary Information Hiding: the main program does not import the Q&A dictionary. waterfall and spiral model quality of product and process generate questions dialogue with user The Software Cycle namespaces in Python automated quiz MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Modular Design At the bottom: the Q&A dictionary. Two libraries of functions: questions and dialogue. Python Implementation the modules main program: quiz.py Summary + Assignments Q&A dictionary Information Hiding: the main program does not import the Q&A dictionary. waterfall and spiral model quality of product and process generate questions dialogue with user The Software Cycle namespaces in Python automated quiz MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Modular Design At the bottom: the Q&A dictionary. Two libraries of functions: questions and dialogue. Python Implementation the modules main program: quiz.py Summary + Assignments Q&A dictionary Information Hiding: the main program does not import the Q&A dictionary. waterfall and spiral model quality of product and process generate questions dialogue with user The Software Cycle namespaces in Python automated quiz MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Modular Design At the bottom: the Q&A dictionary. Two libraries of functions: questions and dialogue. Python Implementation the modules main program: quiz.py Summary + Assignments Q&A dictionary Information Hiding: the main program does not import the Q&A dictionary. waterfall and spiral model quality of product and process generate questions dialogue with user The Software Cycle namespaces in Python automated quiz MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design modular design software cycle & quality 1 Modular Design Python Implementation the modules main program: quiz.py namespaces in Python multiple choice quiz bottom-up design 2 Python Implementation The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments the modules main program: quiz.py namespaces in Python 3 The Software Cycle quality of product and process waterfall and spiral model 4 Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Q&A Dictionary in the le quand.py Python Implementation the modules main program: quiz.py namespaces in Python The Software Cycle quality of product and process waterfall and spiral model questions = { \ 1:How many bits go in one byte ?, \ 2:Who is the main developer of Python ?, \ 3:Which statement is true ?, \ 4:The octal system has base ... \ } Summary + Assignments answers = { \ 1:{ 1:8, 2:4, 3:2, 4:16 }, \ 2:{ 1:Guido van Rossum, 2:John von Neumann, \ 3:Rashi Gupta, 4:John Backus }, \ 3:{ 1:a compiler translates source code, \ 2:a compiler executes object code, \ 3:a compiler formats source code, \ 4:a compiler stores code on file }, \ 4:{ 1:8, 2:2, 3:10, 4:16 } \ } MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Q&A Dictionary in the le quand.py Python Implementation the modules main program: quiz.py namespaces in Python The Software Cycle quality of product and process waterfall and spiral model questions = { \ 1:How many bits go in one byte ?, \ 2:Who is the main developer of Python ?, \ 3:Which statement is true ?, \ 4:The octal system has base ... \ } Summary + Assignments answers = { \ 1:{ 1:8, 2:4, 3:2, 4:16 }, \ 2:{ 1:Guido van Rossum, 2:John von Neumann, \ 3:Rashi Gupta, 4:John Backus }, \ 3:{ 1:a compiler translates source code, \ 2:a compiler executes object code, \ 3:a compiler formats source code, \ 4:a compiler stores code on file }, \ 4:{ 1:8, 2:2, 3:10, 4:16 } \ } MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Specication of questions.py help(questions) shows under FUNCTIONS: evaluate(L, c) evaluates choice c to True or False where L is a list of answers generate() returns a multiple choice question as a tuple (q,L), where q is a number, and L is a list of numbers with answers shuffle(L) shuffles the order of the answers on return is a permutation of the list L update_tally(t, b) updates tally of True or False answers where t is a list of two elements and b is True or False, returns updated tally Python Implementation the modules main program: quiz.py namespaces in Python The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Specication of questions.py help(questions) shows under FUNCTIONS: evaluate(L, c) evaluates choice c to True or False where L is a list of answers generate() returns a multiple choice question as a tuple (q,L), where q is a number, and L is a list of numbers with answers shuffle(L) shuffles the order of the answers on return is a permutation of the list L update_tally(t, b) updates tally of True or False answers where t is a list of two elements and b is True or False, returns updated tally Python Implementation the modules main program: quiz.py namespaces in Python The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Specication of questions.py help(questions) shows under FUNCTIONS: evaluate(L, c) evaluates choice c to True or False where L is a list of answers generate() returns a multiple choice question as a tuple (q,L), where q is a number, and L is a list of numbers with answers shuffle(L) shuffles the order of the answers on return is a permutation of the list L update_tally(t, b) updates tally of True or False answers where t is a list of two elements and b is True or False, returns updated tally Python Implementation the modules main program: quiz.py namespaces in Python The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Specication of questions.py help(questions) shows under FUNCTIONS: evaluate(L, c) evaluates choice c to True or False where L is a list of answers generate() returns a multiple choice question as a tuple (q,L), where q is a number, and L is a list of numbers with answers shuffle(L) shuffles the order of the answers on return is a permutation of the list L update_tally(t, b) updates tally of True or False answers where t is a list of two elements and b is True or False, returns updated tally Python Implementation the modules main program: quiz.py namespaces in Python The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Specication of dialogue.py help(dialogue) shows under FUNCTIONS: prompt_choice(n) asks the user for a choice where n is the number of choices show_outcome(b) reports outcome to user where b is True or False show_question(q, L) displays the questions and the answers on input is the number q of the question and the list L of answers show_tally(t) shows final tally, t is list Python Implementation the modules main program: quiz.py namespaces in Python The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Specication of dialogue.py help(dialogue) shows under FUNCTIONS: prompt_choice(n) asks the user for a choice where n is the number of choices show_outcome(b) reports outcome to user where b is True or False show_question(q, L) displays the questions and the answers on input is the number q of the question and the list L of answers show_tally(t) shows final tally, t is list Python Implementation the modules main program: quiz.py namespaces in Python The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Specication of dialogue.py help(dialogue) shows under FUNCTIONS: prompt_choice(n) asks the user for a choice where n is the number of choices show_outcome(b) reports outcome to user where b is True or False show_question(q, L) displays the questions and the answers on input is the number q of the question and the list L of answers show_tally(t) shows final tally, t is list Python Implementation the modules main program: quiz.py namespaces in Python The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Specication of dialogue.py help(dialogue) shows under FUNCTIONS: prompt_choice(n) asks the user for a choice where n is the number of choices show_outcome(b) reports outcome to user where b is True or False show_question(q, L) displays the questions and the answers on input is the number q of the question and the list L of answers show_tally(t) shows final tally, t is list Python Implementation the modules main program: quiz.py namespaces in Python The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design modular design software cycle & quality 1 Modular Design Python Implementation the modules main program: quiz.py namespaces in Python multiple choice quiz bottom-up design 2 Python Implementation The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments the modules main program: quiz.py namespaces in Python 3 The Software Cycle quality of product and process waterfall and spiral model 4 Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Main Program in the le quiz.py Python Implementation the modules main program: quiz.py namespaces in Python import questions import dialogue t = [0,0] while True: (q,a) = questions.generate() s = questions.shuffle(a) dialogue.show_question(q,s) c = dialogue.prompt_choice(len(s)) e = questions.evaluate(s,c) dialogue.show_outcome(e) t = questions.update_tally(t,e) more = raw_input(continue ? (y/n) ) if more != y: break dialogue.show_tally(t) The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Main Program in the le quiz.py Python Implementation the modules main program: quiz.py namespaces in Python import questions import dialogue t = [0,0] while True: (q,a) = questions.generate() s = questions.shuffle(a) dialogue.show_question(q,s) c = dialogue.prompt_choice(len(s)) e = questions.evaluate(s,c) dialogue.show_outcome(e) t = questions.update_tally(t,e) more = raw_input(continue ? (y/n) ) if more != y: break dialogue.show_tally(t) The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Main Program in the le quiz.py Python Implementation the modules main program: quiz.py namespaces in Python import questions import dialogue t = [0,0] while True: (q,a) = questions.generate() s = questions.shuffle(a) dialogue.show_question(q,s) c = dialogue.prompt_choice(len(s)) e = questions.evaluate(s,c) dialogue.show_outcome(e) t = questions.update_tally(t,e) more = raw_input(continue ? (y/n) ) if more != y: break dialogue.show_tally(t) The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Main Program in the le quiz.py Python Implementation the modules main program: quiz.py namespaces in Python import questions import dialogue t = [0,0] while True: (q,a) = questions.generate() s = questions.shuffle(a) dialogue.show_question(q,s) c = dialogue.prompt_choice(len(s)) e = questions.evaluate(s,c) dialogue.show_outcome(e) t = questions.update_tally(t,e) more = raw_input(continue ? (y/n) ) if more != y: break dialogue.show_tally(t) The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Main Program in the le quiz.py Python Implementation the modules main program: quiz.py namespaces in Python import questions import dialogue t = [0,0] while True: (q,a) = questions.generate() s = questions.shuffle(a) dialogue.show_question(q,s) c = dialogue.prompt_choice(len(s)) e = questions.evaluate(s,c) dialogue.show_outcome(e) t = questions.update_tally(t,e) more = raw_input(continue ? (y/n) ) if more != y: break dialogue.show_tally(t) The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Two Functions questions.py import in quand def generate(): """ returns a multiple choice question as a tuple (q,L), where q is a number, and L is a list of numbers with answers """ import random q = random.randint(1,len(quand.questions)) L = range(1,len(quand.answers[q])+1) return (q,L) def evaluate(L,c): """ evaluates choice c to True or False where L is a list of answers """ return (L[c-1] == 1) Python Implementation the modules main program: quiz.py namespaces in Python The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Two Functions in questions.py import quand def generate(): """ returns a multiple choice question as a tuple (q,L), where q is a number, and L is a list of numbers with answers """ import random q = random.randint(1,len(quand.questions)) L = range(1,len(quand.answers[q])+1) return (q,L) def evaluate(L,c): """ evaluates choice c to True or False where L is a list of answers """ return (L[c-1] == 1) Python Implementation the modules main program: quiz.py namespaces in Python The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design show_question() in dialogue.py import quand def show_question(q,L): """ displays the questions and the answers on input is the number q of the question and the list L of answers """ print quand.questions[q] choice = 1 for answer in L: p = %d % choice + . p = p + quand.answers[q][answer] print p choice = choice + 1 Python Implementation the modules main program: quiz.py namespaces in Python The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Giving Feedback def show_outcome(b): """ reports outcome to user where b is True or False """ if b: print this is the correct answer else: print wrong, please try again def show_tally(t): """ shows final tally, t is list """ s = #correct : %d % t[1] s += #wrong : %d % t[0] f = 100.0*t[1]/sum(t) s += -> %.2f%% % f print s Python Implementation the modules main program: quiz.py namespaces in Python The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Giving Feedback def show_outcome(b): """ reports outcome to user where b is True or False """ if b: print this is the correct answer else: print wrong, please try again def show_tally(t): """ shows final tally, t is list """ s = #correct : %d % t[1] s += #wrong : %d % t[0] f = 100.0*t[1]/sum(t) s += -> %.2f%% % f print s Python Implementation the modules main program: quiz.py namespaces in Python The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design modular design software cycle & quality 1 Modular Design Python Implementation the modules main program: quiz.py namespaces in Python multiple choice quiz bottom-up design 2 Python Implementation The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments the modules main program: quiz.py namespaces in Python 3 The Software Cycle quality of product and process waterfall and spiral model 4 Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Namespaces in Python A namespace is a collection of names available to use. Importing from modules enlarges the current namespace. dir() returns a list of the attributes of the module >>> import random >>> dir(random) [ ... , uniform, ... ] >>> import numpy.random >>> dir(numpy.random) [ ... , uniform, ... ] There are two uniform random number generators: random.uniform() and numpy.random.uniform(). >>> from random import uniform as u1 >>> from numpy.random import uniform as u2 u1() and u2 now belong to the current namespace Python Implementation the modules main program: quiz.py namespaces in Python The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Namespaces in Python A namespace is a collection of names available to use. Importing from modules enlarges the current namespace. dir() returns a list of the attributes of the module >>> import random >>> dir(random) [ ... , uniform, ... ] >>> import numpy.random >>> dir(numpy.random) [ ... , uniform, ... ] There are two uniform random number generators: random.uniform() and numpy.random.uniform(). >>> from random import uniform as u1 >>> from numpy.random import uniform as u2 u1() and u2 now belong to the current namespace Python Implementation the modules main program: quiz.py namespaces in Python The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Namespaces in Python A namespace is a collection of names available to use. Importing from modules enlarges the current namespace. dir() returns a list of the attributes of the module >>> import random >>> dir(random) [ ... , uniform, ... ] >>> import numpy.random >>> dir(numpy.random) [ ... , uniform, ... ] There are two uniform random number generators: random.uniform() and numpy.random.uniform(). >>> from random import uniform as u1 >>> from numpy.random import uniform as u2 u1() and u2 now belong to the current namespace Python Implementation the modules main program: quiz.py namespaces in Python The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Namespaces in Python A namespace is a collection of names available to use. Importing from modules enlarges the current namespace. dir() returns a list of the attributes of the module >>> import random >>> dir(random) [ ... , uniform, ... ] >>> import numpy.random >>> dir(numpy.random) [ ... , uniform, ... ] There are two uniform random number generators: random.uniform() and numpy.random.uniform(). >>> from random import uniform as u1 >>> from numpy.random import uniform as u2 u1() and u2 now belong to the current namespace Python Implementation the modules main program: quiz.py namespaces in Python The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Software Cycle We are experiencing the software crisis: the industrial sector can not keep up with the ever growing demands of the market. Symptoms: 1 2 3 Python Implementation the modules main program: quiz.py namespaces in Python products are delivered late the cost exceed budgets too many bugs appear was 80% versus 20% in the 1960s The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments The relative cost of hardware versus software became 20% versus 80% in the 1980s keeps going in the same direction. Reason: hardware production is technology intensive, whereas software creation is human intensive. MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Software Cycle We are experiencing the software crisis: the industrial sector can not keep up with the ever growing demands of the market. Symptoms: 1 2 3 Python Implementation the modules main program: quiz.py namespaces in Python products are delivered late the cost exceed budgets too many bugs appear was 80% versus 20% in the 1960s The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments The relative cost of hardware versus software became 20% versus 80% in the 1980s keeps going in the same direction. Reason: hardware production is technology intensive, whereas software creation is human intensive. MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Software Cycle We are experiencing the software crisis: the industrial sector can not keep up with the ever growing demands of the market. Symptoms: 1 2 3 Python Implementation the modules main program: quiz.py namespaces in Python products are delivered late the cost exceed budgets too many bugs appear was 80% versus 20% in the 1960s The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments The relative cost of hardware versus software became 20% versus 80% in the 1980s keeps going in the same direction. Reason: hardware production is technology intensive, whereas software creation is human intensive. MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Software Cycle We are experiencing the software crisis: the industrial sector can not keep up with the ever growing demands of the market. Symptoms: 1 2 3 Python Implementation the modules main program: quiz.py namespaces in Python products are delivered late the cost exceed budgets too many bugs appear was 80% versus 20% in the 1960s The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments The relative cost of hardware versus software became 20% versus 80% in the 1980s keeps going in the same direction. Reason: hardware production is technology intensive, whereas software creation is human intensive. MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Software Cycle We are experiencing the software crisis: the industrial sector can not keep up with the ever growing demands of the market. Symptoms: 1 2 3 Python Implementation the modules main program: quiz.py namespaces in Python products are delivered late the cost exceed budgets too many bugs appear was 80% versus 20% in the 1960s The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments The relative cost of hardware versus software became 20% versus 80% in the 1980s keeps going in the same direction. Reason: hardware production is technology intensive, whereas software creation is human intensive. MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design The Software Cycle We are experiencing the software crisis: the industrial sector can not keep up with the ever growing demands of the market. Symptoms: 1 2 3 Python Implementation the modules main program: quiz.py namespaces in Python products are delivered late the cost exceed budgets too many bugs appear was 80% versus 20% in the 1960s The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments The relative cost of hardware versus software became 20% versus 80% in the 1980s keeps going in the same direction. Reason: hardware production is technology intensive, whereas software creation is human intensive. MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design modular design software cycle & quality 1 Modular Design Python Implementation the modules main program: quiz.py namespaces in Python multiple choice quiz bottom-up design 2 Python Implementation The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments the modules main program: quiz.py namespaces in Python 3 The Software Cycle quality of product and process waterfall and spiral model 4 Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Quality of Software Design industrial quality Industrial quality refers to products 1 2 Python Implementation the modules main program: quiz.py namespaces in Python that must meet a target value on average, and within a tolerable standard deviation. The Software Cycle quality of product and process waterfall and spiral model example: a search engine should give one page of relevant answers within an average of 10 seconds, and standard deviation of 2 seconds. We distinguish between quality of product and process: 1 2 Summary + Assignments a high quality product meets users expectations, also the quality of the production process matters! External qualities can be observed directly by the user. example: easy to use Internal qualities can be measured only by the producer. example: design documentation MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Quality of Software Design industrial quality Industrial quality refers to products 1 2 Python Implementation the modules main program: quiz.py namespaces in Python that must meet a target value on average, and within a tolerable standard deviation. The Software Cycle quality of product and process waterfall and spiral model example: a search engine should give one page of relevant answers within an average of 10 seconds, and standard deviation of 2 seconds. We distinguish between quality of product and process: 1 2 Summary + Assignments a high quality product meets users expectations, also the quality of the production process matters! External qualities can be observed directly by the user. example: easy to use Internal qualities can be measured only by the producer. example: design documentation MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Quality of Software Design industrial quality Industrial quality refers to products 1 2 Python Implementation the modules main program: quiz.py namespaces in Python that must meet a target value on average, and within a tolerable standard deviation. The Software Cycle quality of product and process waterfall and spiral model example: a search engine should give one page of relevant answers within an average of 10 seconds, and standard deviation of 2 seconds. We distinguish between quality of product and process: 1 2 Summary + Assignments a high quality product meets users expectations, also the quality of the production process matters! External qualities can be observed directly by the user. example: easy to use Internal qualities can be measured only by the producer. example: design documentation MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Quality of Software Design industrial quality Industrial quality refers to products 1 2 Python Implementation the modules main program: quiz.py namespaces in Python that must meet a target value on average, and within a tolerable standard deviation. The Software Cycle quality of product and process waterfall and spiral model example: a search engine should give one page of relevant answers within an average of 10 seconds, and standard deviation of 2 seconds. We distinguish between quality of product and process: 1 2 Summary + Assignments a high quality product meets users expectations, also the quality of the production process matters! External qualities can be observed directly by the user. example: easy to use Internal qualities can be measured only by the producer. example: design documentation MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Quality of Software Design industrial quality Industrial quality refers to products 1 2 Python Implementation the modules main program: quiz.py namespaces in Python that must meet a target value on average, and within a tolerable standard deviation. The Software Cycle quality of product and process waterfall and spiral model example: a search engine should give one page of relevant answers within an average of 10 seconds, and standard deviation of 2 seconds. We distinguish between quality of product and process: 1 2 Summary + Assignments a high quality product meets users expectations, also the quality of the production process matters! External qualities can be observed directly by the user. example: easy to use Internal qualities can be measured only by the producer. example: design documentation MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Quality of Software Design industrial quality Industrial quality refers to products 1 2 Python Implementation the modules main program: quiz.py namespaces in Python that must meet a target value on average, and within a tolerable standard deviation. The Software Cycle quality of product and process waterfall and spiral model example: a search engine should give one page of relevant answers within an average of 10 seconds, and standard deviation of 2 seconds. We distinguish between quality of product and process: 1 2 Summary + Assignments a high quality product meets users expectations, also the quality of the production process matters! External qualities can be observed directly by the user. example: easy to use Internal qualities can be measured only by the producer. example: design documentation MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Software Quality Features what is good software? A short list of important criteria: correctness must satisfy requirements How reliable is the software? efciency economical use of resources such as hardware and time Do we understand how the complexity of the problem and the software relate? modiability to different environments and requirements How hard is it to correct errors or to add new features? reusability of the same software in different applications Mathematical libraries are a typical example of reusable software. Python Implementation the modules main program: quiz.py namespaces in Python The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Software Quality Features what is good software? A short list of important criteria: correctness must satisfy requirements How reliable is the software? efciency economical use of resources such as hardware and time Do we understand how the complexity of the problem and the software relate? modiability to different environments and requirements How hard is it to correct errors or to add new features? reusability of the same software in different applications Mathematical libraries are a typical example of reusable software. Python Implementation the modules main program: quiz.py namespaces in Python The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design Software Quality Features what is good software? A short list of important criteria: correctness must satisfy requirements How reliable is the software? efciency economical use of resources such as hardware and time Do we understand how the complexity of the problem and the software relate? modiability to different environments and requirements How hard is it to correct errors or to add new features? reusability of the same software in different applications Mathematical libraries are a typical example of reusable software. Python Implementation the modules main program: quiz.py namespaces in Python The Software Cycle quality of product and process waterfall and spiral model Summary + Assignments MCS 260 L-19 8 Oct 2008 Modular Design multiple choice quiz bottom-up design So...

Textbooks related to the document above:
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Ill. Chicago - MCS - 260
MCS 260 L-12 22 Sep 2008 SimulationMonte Carlo methods random numbersOutline1 SimulationRepeat Untilbinary expansion break statementMonte Carlo methods random numbers2 Repeat UntilArrays and nested for Loopsarrays represent matrices sear
Kentucky - BIO - 325
True/False and Short Answer Questions: (5 points each) 1. True or False? In density dependent models, the effective r decreases as density increases.2. True or False? When comparing the exponential and geometric population growth models of populati
Kentucky - BIO - 325
Review Exam IIFall 2007 Amanda EnsmingerMaterials for studying Your lecture notes Your homework and quizzes Your notes from today Materials on Dr. Sargent's website "Population Biology Resources" "Populus " "Old Exam 2" "Review for Exam 2"
Kentucky - BIO - 608
Bio 608 Problem Set Fall 2007 1. Consider the following hypothetical game, which is sort of a 2-player producer-scrounger game. Animals form pairs and harvest resources on their territories. Let the resource value of a territory be V. If two produce
Kentucky - BIO - 325
Study Resources Homework #3 Notes from Review recitation Dr. Sargents Website (link) Old Exam 2 (link to website) some questions relevant Population Biology Resources (link) Lotka-Volterra Competition (website) Recent Character Divergence in
Kentucky - BIO - 325
Life Tables lx = nx/n0 sx,x+1= lx+1/lx Rx = 1/lx ltmt (summed from t = x to t = )x0 1 2 3 4 5 6 7 8 9 10 11nx1000 500 250 150 90 54 32 19 11 5 2 0lx1.000 0.500 0.250 0.150 0.090 0.054 0.032 0.019 0.011 0.005 0.002 0.000 .sx,x+10.500
Kentucky - ENT - 568
Insect BehaviorENT or BIO 568March 11, 1999 page 1 of 7Name_1. Define the following terms (3 pts. each): a. reflexb. sensory adaptationc. longitudinal klinotaxisd. optomotor anemotaxise. fixed action patternf. tymbal organInsect B
Kentucky - AEC - 320
AEC 320 Agricultural Sales and Marketing October 16, 2003 Mid-Term 03 Exam FORM A Instructions You are required to answer question 1. Then answer 4 out of the remaining 5 questions. Answer the questions in the space provided. QUESTION 1 (20 points p
Kentucky - UKYENTO - 2004
Figure 5-120: Superfamily interactive key character 31, "Is tergum one (true or apparent) least as long, or longer than, following terga combined?"
Kentucky - UKYENTO - 2004
Figure 5-75: Proctotrupoidea interactive key character 6, "Is tergum 2 (true or apparent) several times longer than tergum 3 (true or apparent)?"
Kentucky - UKYENTO - 2004
Table 5-19: Symphyta Character MatrixCharacter Number (Argidae) Tenthredinoidea (Blasticotomidae) Tenthredinoidea (Cimbicidae) Tenthredinoidea (Diprionidae) Tenthredinoidea (Pergidae) Tenthredinoidea (Tenthredinidae) Tenthredinoidea (Orussidae) Orus
Kentucky - UKYENTO - 2004
5-21: Vespoidea Character ListCharacter Number Sierolomorphidae Pompilidae Rhopalosomatidae Tiphiidae Sapygidae Mutillidae Bradynobaenidae Formicidae Scoliidae Vespidae Character Number Sierolomorphidae Pompilidae Rhopalosomatidae Tiphiidae Sapygida
Kentucky - UKYENTO - 2004
Table 5-10: Evanioidea Character List1What is the shape of the metasoma? 1. metasomal segment one is long and narrow (petiolate), with the rest of the metasoma laterally flattened and disk-like 2. the entire metasoma is elongate, often with metas
Kentucky - UKYENTO - 2004
Table 5-3: Ceraphronoidea Character MatrixCharacter Number Megaspilidae Ceraphronidae 1 2 1 2 2 1/2 3 1/2 2 4 1/2 2 5 1 2 6 2 1
Kentucky - UKYENTO - 2004
Figure 5-96: Superfamily interactive key character 4, "Is there a dense line of hairs (felt line) laterally on metasomal tergum two?"
Kentucky - UKYENTO - 2004
Figure 5-103: Superfamily interactive key character 14, "Is there a deep depression between the eye and the mandibles (malar space) for reception of the scape?"
Kentucky - UKYENTO - 2004
Figure 5-107: Superfamily interactive key character 18, "Is the forefemur as wide as or wider than the hind femur?"
Kentucky - UKYENTO - 2004
Figure 5-121: Superfamily interactive key character 33, "Is metasomal segment one constricted dorsally and ventrally so it is set off from the rest of the metasoma (node-like)?"
Kentucky - UKYENTO - 2004
Figure 5-118: Superfamily interactive key character 29, "Does the mesoscutum have a large, triangular axilla?"
Kentucky - UKYENTO - 2004
Figure 5-125: Superfamily interactive key character 45, "Are the antennal insertions close to the dorsal margin of the clypeus?"
Kentucky - UKYENTO - 2004
Figure 5-123: Superfamily interactive key character 37, "Are the antennal insertions facing upward and located on the dorsal surface of a ledge?"
Kentucky - UKYENTO - 2004
Figure 5-94: Superfamily interactive key character 2, "Are the metasomal sterna weakly sclerotized, and collapsed when dried?"
Kentucky - UKYENTO - 2004
Figure 5-106: Superfamily interactive key character 17, "How long is the pronotum, measured along the midline, relative to the mesoscutum?"
Kentucky - UKYENTO - 2004
Figure 5-131: Superfamily interactive key character 59, "Does the pronotum have a lateral lobe which extends posterior to the entire tegula?"
Kentucky - UKYENTO - 2004
Figure 5-122: Superfamily interactive key character 35, "Is the mouth facing forward/anteriorly (prognathous) or downward (hypognathous)?"
Kentucky - UKYENTO - 2004
Figure 5-239A: Bradynobaenidae (Vespoidea) (Apterogyna climeni male)Figure 5-239B: :Bradynobaenidae (Vespoidea) (Apterogyna climeni male)Figure 5-239C: Bradynobaenidae (Vespoidea) (Apterogyna climeni female)Figure Figure 5-239D: Bradynobaenidae
Kentucky - UKYENTO - 2004
Figure 5-99: Superfamily interactive key character 8, "Is a stigma present on the forewing?"
Kentucky - UKYENTO - 2004
Figure 5-249A: Megalyridea (Megalyroidea)Figure 5-249B: Megalyridea (Megalyroidea)
Kentucky - UKYENTO - 2004
Figure 5-252A: Trigonalyidae (Trigonalyoidea)Figure 5-252B: Trigonalyidae (Trigonalyoidea)
Kentucky - UKYENTO - 2004
Figure 5-128: Superfamily interactive key character 50, "Are the antenna shorter than the head?"
Kentucky - UKYENTO - 2004
Figure 5-77: Proctotrupoidea interactive key character 8, "Is metasomal segment 1 (true or apparent) at least 3 times longer than wide?"
Kentucky - UKYENTO - 2004
Figure 5-86: Proctotrupoidea interactive key character 19, "Is metasomal segment one (true or apparent) as long as the rest of metasoma?"
Kentucky - UKYENTO - 2004
Table 5-2: Apoidea Character List1Are most hairs branched? 1. yes 2. no Is the hind basitarsus cylindrical? 1. yes 2. no, it is broader than at least the 4th and 5th tarsal segments Is the labrum thin and largely retracted behind the clypeus (as
Kentucky - UKYELEN - 2006
ABSTRACT OF DISSERTATIONTimothy Ian MattoxThe Graduate SchoolUniversity of Kentucky2006EXPLOITING SPARSENESS OF COMMUNICATION PATTERNS FOR THE DESIGN OF NETWORKS IN MASSIVELY PARALLEL SUPERCOMPUTERSABSTRACT OF DISSERTATIONA dissertation
Ill. Chicago - CHEM - 542
I-1 Theorems from Postulates: Now that we have laws or better postulates we should explore what they imply about working q.m. problems - Theorems (Levine 7.2, 7.4)Thm 1 - eigen values of Hermitian operators are real (clearly this fits well with Pos
Ill. Chicago - CHEM - 340
Ill. Chicago - CHEM - 114
Chemistry 114 Summer 2007 Dr. George A. Papadantonakis SyllabusWeek 1(5/28) Subject Thermochemistry Text 6, 9.10,13.5,13.9 Lab 2) Check In, Introduction, Heat Capacity and the Fireproof Safe2 (6/4)Quiz 1 Chemical Thermodynamics19, 13.5, 16.2
Ill. Chicago - CHEM - 114
CHEMISTRY 114: General College Chemistry II Summer 2007, MWF 10:00 11:40 AM, A1 LC Dr. George A. Papadantonakis Email: gpapad3@uic.edu, Telephone: 312-413-1516 Office 4436 SES, Office Hours: MW 3:00 4:00 p.m. Website: http:/www.chem.uic.edu/chem114
Ill. Chicago - CHEM - 114
CHEMISTRY 114 SUMMER 2007 Dr. George A. Papadantonakis Worksheet Week 3, Part II 1. Hydrogen peroxide can act as an oxidizing or reducing agent as in the unbalanced reaction: H2O2 ( aq) O2 (g) a. Balance the reaction in acidic solution by the half-
Ill. Chicago - CHEM - 114
Ill. Chicago - CHEM - 114
Ill. Chicago - CHEM - 114
CHEMISTRY 114 SUMMER 2007 Dr. George A. Papadantonakis Worksheet Week 1, Part I 1. The reaction of the combustion of methanol is CH3OH(l) + O2(g) CO2(g) + H2O(l) a. Balance the reaction b. What is the work done on the reaction? c. What assumptions
Ill. Chicago - CHEM - 114
CHEMISTRY 114 SUMMER 2007 Dr. George A. Papadantonakis Worksheet Week 1, Part II1. Determine the standard heat of formation of liquid hydrazine, N2H4(l) from the following data: a) 2 NH3(g) + 3 N2O (g) 4N2(g) + 3 H2O(l) Ho = -1010 kJ b) N2O (g) +
Ill. Chicago - CHEM - 114
CHEMISTRY 114 SUMMER 2007 Dr. George A. Papadantonakis Worksheet Week 4, Part II The experimental rate law wa sfound to be: rate = k [NO]2 [O2] for the reaction 2 NO (g) + O2 (g) 2 NO2 (g) The following mechanisms have been proposed for this reacti
Ill. Chicago - CHEM - 114
Ill. Chicago - CHEM - 114
Ill. Chicago - CHEM - 114
CHEMISTRY 114 SUMMER 2006 Dr. George A. Papadantonakis Worksheet Week 4, Part I For the reaction 2 ClO2 + 2 OH- ClO3- + ClO2- + H2O the rate was found to be first order in [OH-] and second order in [ClO2]. a. Write the rate law for this reactionb
Ill. Chicago - CHEM - 114
CHEMISTRY 114 SUMMER 2007 Dr. George A. Papadantonakis Worksheet Week 7, Part II 1. For the following give the oxidation number of the metal, the number of d electrons, the metal orbitals thatb are hybridized, the type of hybridization and the molec
Ill. Chicago - CHEM - 114
CHEMISTRY 114 SUMMER 2007 Dr. George A. Papadantonakis Worksheet Week 3, Part I 1. Balance in acidic solution by half-reaction method: a. IO3- (aq) + I- (aq) I3- (aq)b. Cu (s) + HNO3 (aq) Cu2+ (aq) + NO (g)c. Cr2O72- (aq) + Cl - (aq) Cr3+ (aq
Ill. Chicago - CHEM - 114
CHEMISTRY 114 SUMMER 2007 Dr. George A. Papadantonakis Worksheet Week 6, Part I 1. a) Give the hybridization of all C, N and O atoms in problems 49 and 50 of Chapter 11.b) Tell which of the bonds are conjugated.2. Acetone (C3H6O) has a chain of
Ill. Chicago - CHEM - 114
CHEMISTRY 114 SUMMER 2007 Dr. George A. Papadantonakis Worksheet Week 2, Part II 1. For the following reaction the equilibrium constant is 6.8 at 25 oC and 1.21 x 10-3 at 200 oC. 2 NO2 (g) N2O4 (g) a) If PN 2O4 is 1 atm at 25 oC, what is PNO2 ?b)
Ill. Chicago - CHEM - 114
CHEMISTRY 114 SUMMER 2007 Dr. George A. Papadantonakis Worksheet Week 2, Part I 1. One mole of supercooled water at - 10 oC, in a heat-insulated container, crystallizes resulting in a mixture of ice and water at 0 oC. What fraction of the mixture is
Ill. Chicago - CHEM - 114
CHEMISTRY 114 SUMMER 2007 Dr. George A. Papadantonakis Worksheet Week 6, Part II 1. Consider the heteronuclear diatomic molecule NO a) Give its ground-state electron configuration b) Is it diamagnetic or paramagnetic? Why? c) Determine the bond orde
Ill. Chicago - P - 312
Week 15: The Social Psychology of Health- -Risk Assessment Behind the Wheel Perceived Control Among the Elderly Social Comparison in the Surgical Unit Behavioral Self-Regulation and Health SnackingSocial Psychology & Health - Lecture Outline(
Ill. Chicago - P - 313
List of LAS Majors EXCLUDED From Our Study * Biochemistry Curriculum (BS) * Biological Sciences (BS) * Chemistry (BA) * Chemistry Curriculum (BS) * Chemistry (secondary education) (BS) * Earth and Environmental Sciences (BS) * Economics (BA) * Mathem
Kentucky - MS - 201
Study Guide for FinalDecimals 1. Know the representations of decimals. (a) Units, strips, and mats (b) Base 10 blocks (c) Dollars, dimes, and pennies 2. Be able to explain why and how we teach expanded exponential form. 3. Understand the dierence be
Kentucky - MA - 241
MA241 Exam #2 Notes You should be able to: 1. Estimate the area of irregular gures using grids of various sizes, and give clear explanations of how to do this. 2. Find rectangles of minimum and maximum perimeter with a given area, with and without th
Kentucky - MS - 201
Study Guide for Exam 2Polyas Problem-Solving Principles 1. Understand the Problem 2. Devise a Plan 3. Carry Out the Plan 4. Look Back Be able to work through these steps for a given problem. Be able to discuss what each step means in general.Probl
Kentucky - MS - 201
Study Guide for Exam 3Representation of Integers 1. Be able to use them to following methods to represent integers (a) Drops of Colored Counters (b) Mail-Time (c) Number-Line 2. Understand Absolute Value. Addition and Subtraction of Integers 1. Use
Kentucky - MS - 202
Study Guide for Exam 3 Overall, make sure you understand the topics and problems below and all homework problems. Measurement 1. You need to be able to do conversions in the metric system without being given the relationships. Be able to do other con
Kentucky - MS - 202
Study Guide for Exam 2 Overall, make sure you understand the topics and problems below and all homework problems. Denitions and Formulas 1. Empirical probability 2. Mutually exclusive events 3. Independent events 4. Theoretical probability 5. Curve,