answering the questions
User Generated
Anvsss
Programming
Description
please answer the questions in the file as soon as possible
Unformatted Attachment Preview
Joy and Beauty of Data, First Practicum – February 24, 2017
Name _______________________________________________________________
Question One. 25 points. Show a list with as few elements as possible where the median
function returns a different answer than the median_low function. Both functions are in the
statistics module.
Question Two. 25 points. Write a function named count_characters. The function receives a
list of strings. It should return the total number of characters contained in all strings.
For example, the following statement should print 20
print(count_characters(["You", "may", "say", "I'm", "a", "dreamer"]))
Question Three. 25 points. Write a function named my_reverse. The function receives a list of
strings. It should return the list in reverse order without using the built-in reverse function.
For example, the following statement should print ['dreamer', 'a', "I'm", 'say', 'may', 'You']
print(my_reverse(["You", "may", "say", "I'm", "a", "dreamer"]))
Question Four. Complete the function below such that it creates a file that contains each
integer from 1 through n on successive lines of the output file.
For example, create_file(“jbd.txt”, 5) should create a file named “jbd.txt” that contains 1 on
the first line, 2 on the second line, 3 on the third line, 4 on the fourth line, and 5 on the fifth
line.
def create_file(file_name, n):
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.
This question has not been answered.
Create a free account to get help with this and any other question!
24/7 Homework Help
Stuck on a homework question? Our verified tutors can answer all questions, from basic math to advanced rocket science!
Most Popular Content
Create a gif for a website using adobe animate
IT213 Lecture: Project #4 Animation Commercial (10% of Final Grade) I. Purpose The purpose of this assignment is to d ...
Create a gif for a website using adobe animate
IT213 Lecture: Project #4 Animation Commercial (10% of Final Grade) I. Purpose The purpose of this assignment is to demonstrate your ability to use the various features and functions in Adobe Animate to create a commercial for your fictional company/organization.This assignment is an opportunity to utilize the animation authoring skills that you have learned to develop a creative and original 20-second non-looping animation to deliver a message about your company/organization. II. Steps You must use Adobe Animate to create your commercial. Your animation must meet the following requirements: Submit your FLA file via Blackboard using the Assignments Tool (“Course Tools” à “Assignments” àfollow the “Project 4: Animation Commercial” link). III. Grading Description Points File Format: File does not exceed 800x600 in dimension. File format is FLA. FPS is 12.Platform/Playback type is HTML5 Canvas (preferred) or ActionScript 3.0Duration is at least 20 seconds.Select a background color; Create a “loading” text box and 5 small white squares (3 point)Create a preloader animation (squares sequentially turn to black squares for 0.5 second each, moving from left to right (3 points)Resulting in a color change of any object (2 points)Resulting in a position change of any object (2 points)Resulting in a transformation change of any object (scale, rotation)(2 points)Resulting in a shape change (2 points)Create a button symbol (1 point)Set the following states for the button: (3 points)Upstate: Create a text box on top of the square with the text ‘End’ Over State: Change the color of the text ‘End’.Down State: Change the color of the text ‘End’.Import the Image.gif file (1 point)The animation stops when the button appears (to let the user click on the button) (2 points)The animation continues to play the imported Image.gif movie when the user clicks on the button. (2 points)The imported Image.gif file must run at least once completely without looping (2 point) 1-25 Accessibility (only for ActionScript 3.0 documents) Create the animation with the Accessibility Panel activatedSelect the “Make Movie/Object Accessible” option on movie or individual objectsProvide an alternative equivalent in the Name and Description fieldsNo component of the content flashes more than three times in any 1-second period 1-25 Preloader 6 Motion Tween 6 Shape Tween 2 Button 4 Ending (JavaScript or ActionScript 3.0) 7 TOTAL 25
The University of Texas Coffee Algorithm Python Programming Homework
Write a program that opens a specified text file then displays a list of the unique words found in the file. Hint: Store ...
The University of Texas Coffee Algorithm Python Programming Homework
Write a program that opens a specified text file then displays a list of the unique words found in the file. Hint: Store each word as an element of a set. You can create your own text file to test your code# the rest of the assignment in the docs file
6 pages
Physical Security Plan Template
Why did you propose the lighting where you did? The lighting should be at the emergence entrance, staff entrance, and stai ...
Physical Security Plan Template
Why did you propose the lighting where you did? The lighting should be at the emergence entrance, staff entrance, and stairs.
Option #1: Case Study 1: Data Warehouse Application in an Industry
Option #1: Case Study 1: Data Warehouse Application in an Industry
Assignment Instructions:
Perform research to l ...
Option #1: Case Study 1: Data Warehouse Application in an Industry
Option #1: Case Study 1: Data Warehouse Application in an Industry
Assignment Instructions:
Perform research to locate a data warehouse system that was used in the telecommunication, transportation, or education industries. Be sure to select one that has been developed and deployed to successfully produce actionable business intelligence.
Write a case study paper that describes:
The architecture of this data warehouse
The source input systems
ETL processing that is required
The types of output reporting
The types of users
The business processes supported by this data warehouse
CSCI1145 Columbus State Community College Final Exam Study Guide
1145 Final Exam Study GuideWill web browsers accept poor HTML coding and still render a webpage?Should HTML 5 attribute va ...
CSCI1145 Columbus State Community College Final Exam Study Guide
1145 Final Exam Study GuideWill web browsers accept poor HTML coding and still render a webpage?Should HTML 5 attribute values always be enclosed in single or double quotes?Do inline style rules get overridden by external style rules?How do you code an image to display text if the image doesn’t load?Which heading element is the largest?What does the size attribute control on a text box form control?Can HTML lists be nested?Should web developers worry about the physical size and file weight of images ona web site?What text box attribute controls how many characters can be entered into thetext field?Can JavaScript commands be entered directly into an HTML file?Where does text appear that is wrapped in the <title> tag?What are the 3 basic types of hyperlinks?How are definition lists structured?What does the target attribute do when configured for the <a> element?Can ordered and unordered lists be nested together?Can bookmark links be linked to a different page on the same site?What JavaScript method would you use to write text to a web page?What are the two methods for incorporating jQuery on a web page?Can a web page have more than two forms?What is JavaScript?What do you call a reuseable block of JavaScript statements?What is an attribute of a JavaScript object referred to as?In terms of web page interactivity, what is an action taken by the user describedas?What comparison operator would you use if you wanted to test for equality?What is the purpose of the <script> element, and where can it be used in a webpage?What does a valid JavaScript variable name look like?When would the onmouseover event handler be triggered by a user?What are best practice considerations when planning out a mobile version of awebsite?What is the OneWeb concept?How would you make all img elements on a web site be automatically responsiveto changes in screen size?What are a few W3C mobile layout recommendations?What does the viewport meta tag do for a web page?What does Fair Use mean in terms of copyright?How would you add fallback content for older browsers that can’t handle the<audio> and <video> elements?What is Creative Commons?Should permission be obtained if you want to use someone else’s media on yoursite?What does the <iframe> element allow you to do?What does the <transform> CSS property allow you to do?What does the <transition> CSS property allow you to do?How do you add controls to the <audio> or <video> elements?What does the <source> element do?Are APIs and Plugis the same thing?What parts of a web page do search engine bots examine?What are the main components of a search engine?Do page titles and heading tags affect a page’s SEO potential?Are meta tags the only way to add SEO to a web page?What is the point of improving a site’s SEO?Will a robots.txt file direct search engine bots how to crawl your site?What is the command that can be put in front of a URL to test if it has beenindexed?Are XML sitemaps the same as a site’s navigational page with links to every pageon the site?What does SERP stand for?What is jQuery?Paying for search engine ads is the only way to get to the top of SERP?What is the syntax for a jQuery CSS method that selects all elements with a classof final?Short Answer QuestionsWrite code with the HTML 5 framework tags that has a page title, an HTMLcomment, and an ordered list featuring your favorite movies.Write just the HTML form code for a form that has its method and actionattributes filled out and two text fields, a checkbox, a text area, and a submitbutton.Write the HTML and JavaScript required for an alert/popup window.Write CSS rules that will take elements with an id of final have fixed positioning atthe bottom of the window. Another that will float right all list items in a list, butonly those list items that are children of a dive with an id of exam. Write anotherrule that will style text in elements of class fun to be bold, red, and have a fontsize of 14px.Write jQuery with the document ready event that will change the backgroundcolor of all div elements to green and the font size to 150%.Be familiar with SEO tactics and how page title, headings, meta descriptions, etc.can be improved with them to give a page better SEO.
COP 4338 Florida International Computing and Information Sciences Program
Using the shell program given in the assignment, the program should work with 10-15 lines of code added In this assignmen ...
COP 4338 Florida International Computing and Information Sciences Program
Using the shell program given in the assignment, the program should work with 10-15 lines of code added In this assignment, you are asked to complete a program that gets a file name (and path)
as its only command-line argument and shuffles the file content randomly using low-level
I/O functions open, read, write, and lseek.
Similar Content
ECE 425 Abdill Career College Digital Signal Processing Pre Lab Questions
ECE 425/525 Digital Signal Processing
Spring 2022
Dept. of Electrical and Computer Engineering
Miami University
Homework...
ACC Driving Robot Using Ladar Lab
Driving Robot Using Ladar
Lab 5 and Lab 6 Combined
Introduction
Lab 5 and Lab 6 have been combined to make up for the weat...
CS 152 Park University String Methods Project
DirectionsYour assignment is to take a list of strings representing (Department code, course number, title, enrollment) an...
Java program for real world currency exchange
Java programming to create a currency converter using a real time currency exchange. Requirement #Description1The applicat...
Week 1 Programming Lab
2. Calculation ProgramA restaurant is having a 15% discount spring promotion.Write a program that will display the total r...
CIS22C DACCC Programming C++Structures and Strings programming Project
C++Structures and Strings programming.Grading ...
B.sc. In Information Technology Final
A Bachelor of Science in Information Technology (B.Sc IT/BSIT) is a bachelor's degree that is awarded to an undergraduate ...
Inheritance And Polymorphism
Based on this week’s readings and videos, suppose that you are creating an enterprise application for storing the invent...
Poetry Website
We used Html and CSS to create 8 pages. Before we started coding, we designed a wireframe and sitemap to make I easier for...
Related Tags
Book Guides
Silas Marner
by George Eliot
Where the Crawdads Sing
by Delia Owens
Frankenstein
by Mary Shelley
The Calcutta Chromosome
by Amitav Ghosh
The Point of it All - A Lifetime of Great Loves and Endeavors
by Charles Krauthammer
The Unwinding of the Miracle
by Julie Yip-Williams
Communist Manifesto
by Karl Marx
Crime and Punishment
by Fyodor Dostoyevsky
Macbeth
by William Shakespeare
Get 24/7
Homework help
Our tutors provide high quality explanations & answers.
Post question
Most Popular Content
Create a gif for a website using adobe animate
IT213 Lecture: Project #4 Animation Commercial (10% of Final Grade) I. Purpose The purpose of this assignment is to d ...
Create a gif for a website using adobe animate
IT213 Lecture: Project #4 Animation Commercial (10% of Final Grade) I. Purpose The purpose of this assignment is to demonstrate your ability to use the various features and functions in Adobe Animate to create a commercial for your fictional company/organization.This assignment is an opportunity to utilize the animation authoring skills that you have learned to develop a creative and original 20-second non-looping animation to deliver a message about your company/organization. II. Steps You must use Adobe Animate to create your commercial. Your animation must meet the following requirements: Submit your FLA file via Blackboard using the Assignments Tool (“Course Tools” à “Assignments” àfollow the “Project 4: Animation Commercial” link). III. Grading Description Points File Format: File does not exceed 800x600 in dimension. File format is FLA. FPS is 12.Platform/Playback type is HTML5 Canvas (preferred) or ActionScript 3.0Duration is at least 20 seconds.Select a background color; Create a “loading” text box and 5 small white squares (3 point)Create a preloader animation (squares sequentially turn to black squares for 0.5 second each, moving from left to right (3 points)Resulting in a color change of any object (2 points)Resulting in a position change of any object (2 points)Resulting in a transformation change of any object (scale, rotation)(2 points)Resulting in a shape change (2 points)Create a button symbol (1 point)Set the following states for the button: (3 points)Upstate: Create a text box on top of the square with the text ‘End’ Over State: Change the color of the text ‘End’.Down State: Change the color of the text ‘End’.Import the Image.gif file (1 point)The animation stops when the button appears (to let the user click on the button) (2 points)The animation continues to play the imported Image.gif movie when the user clicks on the button. (2 points)The imported Image.gif file must run at least once completely without looping (2 point) 1-25 Accessibility (only for ActionScript 3.0 documents) Create the animation with the Accessibility Panel activatedSelect the “Make Movie/Object Accessible” option on movie or individual objectsProvide an alternative equivalent in the Name and Description fieldsNo component of the content flashes more than three times in any 1-second period 1-25 Preloader 6 Motion Tween 6 Shape Tween 2 Button 4 Ending (JavaScript or ActionScript 3.0) 7 TOTAL 25
The University of Texas Coffee Algorithm Python Programming Homework
Write a program that opens a specified text file then displays a list of the unique words found in the file. Hint: Store ...
The University of Texas Coffee Algorithm Python Programming Homework
Write a program that opens a specified text file then displays a list of the unique words found in the file. Hint: Store each word as an element of a set. You can create your own text file to test your code# the rest of the assignment in the docs file
6 pages
Physical Security Plan Template
Why did you propose the lighting where you did? The lighting should be at the emergence entrance, staff entrance, and stai ...
Physical Security Plan Template
Why did you propose the lighting where you did? The lighting should be at the emergence entrance, staff entrance, and stairs.
Option #1: Case Study 1: Data Warehouse Application in an Industry
Option #1: Case Study 1: Data Warehouse Application in an Industry
Assignment Instructions:
Perform research to l ...
Option #1: Case Study 1: Data Warehouse Application in an Industry
Option #1: Case Study 1: Data Warehouse Application in an Industry
Assignment Instructions:
Perform research to locate a data warehouse system that was used in the telecommunication, transportation, or education industries. Be sure to select one that has been developed and deployed to successfully produce actionable business intelligence.
Write a case study paper that describes:
The architecture of this data warehouse
The source input systems
ETL processing that is required
The types of output reporting
The types of users
The business processes supported by this data warehouse
CSCI1145 Columbus State Community College Final Exam Study Guide
1145 Final Exam Study GuideWill web browsers accept poor HTML coding and still render a webpage?Should HTML 5 attribute va ...
CSCI1145 Columbus State Community College Final Exam Study Guide
1145 Final Exam Study GuideWill web browsers accept poor HTML coding and still render a webpage?Should HTML 5 attribute values always be enclosed in single or double quotes?Do inline style rules get overridden by external style rules?How do you code an image to display text if the image doesn’t load?Which heading element is the largest?What does the size attribute control on a text box form control?Can HTML lists be nested?Should web developers worry about the physical size and file weight of images ona web site?What text box attribute controls how many characters can be entered into thetext field?Can JavaScript commands be entered directly into an HTML file?Where does text appear that is wrapped in the <title> tag?What are the 3 basic types of hyperlinks?How are definition lists structured?What does the target attribute do when configured for the <a> element?Can ordered and unordered lists be nested together?Can bookmark links be linked to a different page on the same site?What JavaScript method would you use to write text to a web page?What are the two methods for incorporating jQuery on a web page?Can a web page have more than two forms?What is JavaScript?What do you call a reuseable block of JavaScript statements?What is an attribute of a JavaScript object referred to as?In terms of web page interactivity, what is an action taken by the user describedas?What comparison operator would you use if you wanted to test for equality?What is the purpose of the <script> element, and where can it be used in a webpage?What does a valid JavaScript variable name look like?When would the onmouseover event handler be triggered by a user?What are best practice considerations when planning out a mobile version of awebsite?What is the OneWeb concept?How would you make all img elements on a web site be automatically responsiveto changes in screen size?What are a few W3C mobile layout recommendations?What does the viewport meta tag do for a web page?What does Fair Use mean in terms of copyright?How would you add fallback content for older browsers that can’t handle the<audio> and <video> elements?What is Creative Commons?Should permission be obtained if you want to use someone else’s media on yoursite?What does the <iframe> element allow you to do?What does the <transform> CSS property allow you to do?What does the <transition> CSS property allow you to do?How do you add controls to the <audio> or <video> elements?What does the <source> element do?Are APIs and Plugis the same thing?What parts of a web page do search engine bots examine?What are the main components of a search engine?Do page titles and heading tags affect a page’s SEO potential?Are meta tags the only way to add SEO to a web page?What is the point of improving a site’s SEO?Will a robots.txt file direct search engine bots how to crawl your site?What is the command that can be put in front of a URL to test if it has beenindexed?Are XML sitemaps the same as a site’s navigational page with links to every pageon the site?What does SERP stand for?What is jQuery?Paying for search engine ads is the only way to get to the top of SERP?What is the syntax for a jQuery CSS method that selects all elements with a classof final?Short Answer QuestionsWrite code with the HTML 5 framework tags that has a page title, an HTMLcomment, and an ordered list featuring your favorite movies.Write just the HTML form code for a form that has its method and actionattributes filled out and two text fields, a checkbox, a text area, and a submitbutton.Write the HTML and JavaScript required for an alert/popup window.Write CSS rules that will take elements with an id of final have fixed positioning atthe bottom of the window. Another that will float right all list items in a list, butonly those list items that are children of a dive with an id of exam. Write anotherrule that will style text in elements of class fun to be bold, red, and have a fontsize of 14px.Write jQuery with the document ready event that will change the backgroundcolor of all div elements to green and the font size to 150%.Be familiar with SEO tactics and how page title, headings, meta descriptions, etc.can be improved with them to give a page better SEO.
COP 4338 Florida International Computing and Information Sciences Program
Using the shell program given in the assignment, the program should work with 10-15 lines of code added In this assignmen ...
COP 4338 Florida International Computing and Information Sciences Program
Using the shell program given in the assignment, the program should work with 10-15 lines of code added In this assignment, you are asked to complete a program that gets a file name (and path)
as its only command-line argument and shuffles the file content randomly using low-level
I/O functions open, read, write, and lseek.
Earn money selling
your Study Documents