use the "get_first_name" function in the "names" module and create a list of 8 first-names.
Q: موسوعة المهندس الكهربائي" want to link the site | 1:53 م
A:
Q: Which message timing factor impacts how much information can be sent and the speed at which it can b...
A: Defined the given statement
Q: 2. A fine dine-in restaurant charges a 15% service charge and a 10% sales tax on the gross bill. Wri...
A: Given: 2. A fine dine-in restaurant charges a 15% service charge and a 10% sales tax on the gross bi...
Q: Put the verb into the correct form: The film wasn't very good. I it _(enjoy) .much
A: you question is about correct verb from
Q: 12. The keyboard shortcut to toggle between anchored cells ($) and unanchored cells (no $) is: a. F4...
A: According to the question Ms-excel is the most usable application by uses of microsoft for accountin...
Q: Put the verb into the correct form: It was hard carrying the bags. They (be) .really heavy
A: Answer:- below ?
Q: What was John von Neumann's most notable accomplishment?
A: John von Neumann influenced many things that includes quantum theory, automata theory etc. He is a g...
Q: I need the answer quickly
A: let us see the answer:-
Q: Put in much/many/little/few (one word only). Anna is very busy these days. She has free time
A: Answer. Little
Q: Put the verb into the correct form: It takes me an hour to get to work in the morning. ?How long (it...
A: SOLUTION:
Q: Put the verb into the correct form: I ca og on to the website. .forget) my passwc
A: Explanation I have forgotten is the correct form of the word I can't log on to the website. I have f...
Q: Write a python program to let the user enter a string of his own choice. Check whether the given str...
A: PROGRAM EXPLANATION: Define a function isPalindrome(). This function will take a string as an inp...
Q: Assume an algorithm that takes log2 n microseconds to solve a problem. Find the largest input size n...
A: Given, An algorithm takes (log n)^2 microseconds to solve a problem. The largest size of n for which...
Q: Draw flow chart for the given pseudocode: Store 20 in the speed variable. Store 10 in the time var...
A: The flowchart is a graphical representation to represent a problem solution in a step-by-step manner...
Q: Create a to-do list program ( - Enter in the To Do text box then click either Add, Edit, or Remove b...
A: private void jButtonActionPerformed(java.awt.event.ActionEvent evt) { ...
Q: Hobbit Bank offers exactly three types of account, with the following attributes: CHECKING: Acco...
A: Enhanced entity relationship diagrams are advanced database diagrams very similar to regular ER diag...
Q: In computer science, what is a motherboard?
A: The motherboard is a circuit board that houses the circuitry and components that allow your computer...
Q: Put the verb into the correct form: _(the weather/ .change). It's colder now
A: Lets see the solution.
Q: Requirement: 1. Create at least 2 business process definition based on the given case study. 2. Iden...
A: Requirement: 1. Create at least 2 business process definition based on the given case study.2. ident...
Q: Complete the sentences. Use a superlati (-est or most.) + a preposition (of in).Brazil is a very lar...
A: given - Complete the sentences. Use a superlative(-est or most .) + a preposition (of orin).Brazil i...
Q: Scenario: The Ministry of Health is planning to build a mobile application software to screen passen...
A: Given The answer is given below.
Q: nds of SD cards ar
A: The kinds of SD cards are there?
Q: Write a program of a SAP-1 computer in Assembly Language and translate it to Machine Code given the ...
A: Answer: Given expression : 100+35-46-69+128-200 =-52
Q: Java is the subject Add appropriate code segment for the given below code. Write the instantiation s...
A: Here I ahve created the class named person with 3 data members. Next, I have created the main method...
Q: In the context of data science, what does A/B testing imply?
A: What is A/B testing? A/B testing is a basic randomized control experiment. It is a way to compare t...
Q: Suppose you have a table "t" with two columns A and B, and three rows. How do you add a column C wit...
A: Pick any cell in the table and right-click to enter a column. To insert a new row, select Table Rows...
Q: Explain each important segment of the code.
A: // Explanation is commented above of each important line import javax.swing.JOptionPane; public clas...
Q: tween Java and No
A: Differences between Java and Node JS Node js High-scalability server-side applications Because the ...
Q: What is the aim of an organization's information security? What advantages does data security provid...
A: The aim of an organization's information security is to protect the information and systems that sup...
Q: A byte has a size of how many bits?
A: - We need to talk about a byte.
Q: Based on the video "I want to rule an agile project" (link is here: https://www.youtube.com/watch?v=...
A: Agile - As I have created my own new meaning for Agile is Awesome growth with intellectual and limit...
Q: r any relevant tasks, a task analysis is needed. Explain the task analysis that you have implemented...
A: given- In designing a system, game or any relevant tasks, a task analysis is needed. Explain the tas...
Q: Put the verb into the correct form: I forgot my wallet. I don't have any money. b: Not to .worry. I ...
A: There are four future verb tenses: Simple future tense Future continous tense Future perfect tense ...
Q: Primary 0.S. interstate nighways are numbered 1-99. Odd numbers (like the 5 or 95) go north/soutn, a...
A: Code : ------------------------- number = int(input()) if(number <= 0 or number > 999): p...
Q: at using DRB is more efficient th
A: Do you think that using DRB is more efficient than using SRB
Q: One of the special registers in ARM processor is Program Status Register. Briefly explain the conten...
A: We have asked to explain about program status register/word.
Q: External hard drives and USB storage units are required since the internal hard drive's capacity is ...
A: Devices for Storage: Numerous storage methods are accessible in computer science. Each of them makes...
Q: Complete the sentences. Use a superlative (-est or most ..) + a preposition (of or in).lt was a very...
A: the happiest day of
Q: Assume you have a small virtual address space of size 2048 KB, and that the system uses paging, but ...
A: Below is the answer to the above question. I hope this will meet your requirement.
Q: The Department of Academic Affairs for a faculty has decided to develop a Web-based student registra...
A: A use case diagram is used to represent the dynamic behavior of a system. It encapsulates the system...
Q: Put the verb into the correct form: It takes me an hour to get to work in the morning. (it / take) y...
A: It takes me an hour to get to work. How long does it take you? (Answer)
Q: Put the verb into the correct form: Michel is in New York right now. _(He / stay) at the Park Hotel
A: He is staying at the Park Hotel.
Q: Find sıngle-precison floatıng-point format for the number 87.
A: For IEEE 754 each number is represented in 32 bits. It is divided into 3 parts: sign bit: 1 bit is u...
Q: Fill in the following blank using information from your textbook. One of the disadvantages of inform...
A: Information technology is building the communication networks for an organization and it provides th...
Q: way
A: Introduction: The php.ini file must be appropriately set with the specifics of how your system sends...
Q: BEGIN INPUT rate INPUT hours GrossPayrate x hours DeductionGrossPay x 0.05 NetPayGrossPay – Deduc...
A: Grossed and a net paycheck: Individuals who would be compensated for their work are given a net comp...
Q: What kinds of SD cards are there?
A: INTRODUCTION: Phones and cameras are among the most popular digital devices today. While most of the...
Q: Let p = “It is raining” q = “I am wearing my rubbers" s = “I am carrying my umbrella...
A: Expressions for the following statements in symbols statements: (a) “Either it is not raining, or I...
Q: Paragraph Completion: The dominant form of mass communication today is television. Of course, people...
A: The dominant form of mass communication today is television. of course , people still buy magazines ...
Q: Put the verb into the correct form: I have a car, but I, (not /use) it .much
A: INTRODUCTION: Words that show action (sing), occurrence (develop), or state of being are called ver...
python
use the "get_first_name" function in the "names" module and create a list of 8 first-names.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps
- Common Time Zones Function Name: commonTimeZones() Parameters: code1( str ), code2( str) Returns: list of common time zones ( list ) Description: You and your friend live in different countries, but you figure there's a chance that both of you might be in the same time zone. Thus, you want to find out the list of possible time zones that you and your friend could both be in. Given two country codes, write a function that returns a list of the time zones the two countries have in common. Be sure not to include any duplicate time zones. If the two country codes do not have any common time zones, return the string 'No Common Time Zones' instead. Note: You can assume that the codes will always be valid. example test cases: >>> commonTimeZones('can', 'usa') [UTC-08:00', 'UTC-07:00', 'UTC-06:00', 'UTC-05:00', 'UTC-04:00] >>> commonTimeZones('rus', 'chn') [UTC+08:00] For this assignment, use the REST countries API (https://restcountries.com/#api-endpoints-v2). For all of your requests, make…python exercise: 1. Write a Python function called generate_quiz_question that takes a list of quiz questions (represented as tuples of the question and answer) as input and returns a randomly selected question from the list. The function should also prompt the user to enter their answer to the question, and then check whether the user's answer is correct or not. If the user's answer is correct, the function should return True. Otherwise, it should return False. 2. Write a function is_palindrome(s) that takes a string s as input and returns True if s is a palindrome (i.e., reads the same backwards and forwards), and False otherwise 3. Write a Python function called get_top_students that takes the list of dictionaries as input and returns a dictionary containing the name and GPA of the top two students in the list. Each dictionary has the following keys: "name", "age", "major", and "gpa".Common Time Zones Function Name: commonTimeZones() Parameters: code1( str ) , code2( str ) Returns: list of common time zones ( list ) Description: You and your friend live in different countries, but you figure there's a chance that both of you might be in the same time zone. Thus, you want to find out the list of possible time zones that you and your friend could both be in. Given two country codes, write a function that returns a list of the time zones the two countries have in common. Be sure not to include any duplicate time zones. If the two country codes do not have any common time zones, return the string 'No Common Time Zones' instead. Note: You can assume that the codes will always be valid. example test cases: >>> commonTimeZones('can', 'usa') ['UTC-08:00', 'UTC-07:00', 'UTC-06:00', 'UTC-05:00', 'UTC-04:00'] >>> commonTimeZones('rus', 'chn') ['UTC+08:00'] For this assignment, use the REST countries API…
- Code in Python: Your hangman game should be broken into appropriate functions, contain a main function, anddo the following:1. The program should randomly select a word from the list: kangaroo, capybara, wombat,koala, wallaby, quokka, platypus, dingo, kookaburra2. Repeatedly prompt the user to guess a letter.3. Validate the input4. All guessed letters should be stored in a two-dimensional list (from problem 2). If thenumber of times a letter has been guessed is greater than 1, then the user should benotified that they have already guessed this letter and prompted to guess a differentletter. The hangman won’t update (grow) if the same incorrect letter is guessed multipletimes.5. The word should be printed where all correctly guessed letters are revealed, and allunguessed letters are replaced with underscores6. A hangman reflecting the number of incorrect guesses should be printed7. If all the letters in the word are guessed, then the user wins. If the hangman / number ofincorrect…Please follow the instructions The function first_words in python takes one parameter, fname, the name of a text file, and returns a list containing the first word from each line of the file. For example, if the file contents are: apples are red bananas are yellow limes are green then the list ["apples", "bananas", "limes"] should be returned.NOTE: You may assume the file will contain no blank lines.BIG HINT: If line is a string representing a line of text (inside of a for loop!), then L = line.split() creates a list of the words in the line. For example: Test Result L = first_words("snakes.txt") print(L) ['Cottonmouth', 'Timber', 'Black', 'Tiger', 'Copperhead', 'Eastern', 'Western', 'Eastern', 'Prairie', 'Mojave']python exercise: 1. Write a Python function called generate_quiz_question that takes a list of quiz questions (represented as tuples of the question and answer) as input and returns a randomly selected question from the list. The function should also prompt the user to enter their answer to the question, and then check whether the user's answer is correct or not. If the user's answer is correct, the function should return True. Otherwise, it should return False.
- PYTHON CODING This function takes a list of points and then returns a new list of points, which starts with the first point that was given in the list, and then followed by points closest to the start point. Here is the function that needs to be created: def solution_path(points) : # insert code here return path Please use any of the following function to develop the solution_path function Distance function - calculates the distance between two points def distance(p1, p2) : distance = sqrt (((p1 [0] - p2 [0]) **2) + ((p1 [1] - p2 [1]) **2)) return (distance) Find_closest function - calculates the closest point to the starting point def find_closest(start_point, remaining_points): closest_distance = 99999 for coordinate in remaining_points: dist = distance(start_point, coordinate) if(dist < closest_distance): closest_distance = dist closest_point = coordinate return closest_point Path_distance function -…Problem description: Write a python application to simulate an Amazon online book shoppingsystem, namely “Amazing”. Design solution: The template file contains a list of books sold on Amazing, each item in the listcontains the title, publication year, author and the prices. The program will generate anitems_dict where each key is the title of the book and the values will be a list of year, authorand price information. A customer will be presented with a main menu with 4 different options:display all items, add an item to cart, checkout and exit the program. A customer can buy anitem by entering the title of the book. This program implements a dictionary called cart, whereeach key is the title and the values are the list of year, author and price and We assume onecopy is added with each selection. The program keeps repeating by displaying the main menuto user until user hits the quit button. If user hits the checkout option, the program will displayall the items in the cart and display…*Coding language is Python Write a program that opens the productsales.txt file and reads the sales into a list. The program should output the following information, in this order: The total of all sales in the list The average of all sales in the list The lowest sale in the list The highest sale in the list NOTE: Your program should include at least one user-defined function, in addition to the main function. 4147 1594 2235 8433 10000 129 5555 7030 9764 7465 1111 4444 8954 2243 2895 1436 4978 5486 1436 9846 4789 8456 2497 2280 6375
- Instruction: It should be a C++ PROGRAM INCLUDE THE HEADER FILE, MAIN CPP, AND BSTREE.CPP There is a real program developed by a computer company that reads a report ( running text ) and issues warnings on style and partially corrects bad style. You are to write a simplified version of this program with the following features: Statistics A statistical summary with the following information: Total number of words in the report Number of unique words Number of unique words of more than three letters Average word length Average sentence length An index (alphabetical listing) of all the unique words (see next page for a specific format) Style Warnings Issue a warning in the following cases: Word used too often: list each unique word of more than three letters if its usage is more than 5% of the total number of words of more than three letters Sentence length : write a warning message if the average sentence length is greater than 10 Word length : write a warning message if the…Brussel's choice def brussels_choice_step(n, mink, maxk): This problem is adapted from another jovial video "The Brussel's Choice" of Numberphile (a site so British that you just know there has to be a Trevor and a Colin somewhere in there) whose first five minutes you should watch to get an idea of what is going on. This function should compute and return the list of all numbers that the positive integer n can be converted to by treating it as a string and replacing some substring m of its digits with the new substring of either 2*m or m/2, the latter substitution allowed only when m is even so that dividing it by two produces an integer. This function should return the list of numbers that can be produced from n in a single step. To keep the results more manageable, we also impose an additional constraint that the number of digits in the chosen substring m must be between mink and maxk, inclusive. The returned list must contain the numbers in ascending sorted order.Please Use Python def get_written_date(date_list): """ The function ... """ month_names = { 1: "January", 2: "February", 3: "March", 4: "April", 5: "May", 6: "June", 7: "July", 8: "August", 9: "September", 10: "October", 11: "November", 12: "December", } # Finish the function # Return the date string in written format if __name__ == "__main__": assert get_written_date(["01", "02", "2022"]) == 'January 2, 2022' assert get_written_date(["01", "12", "1970"]) == 'January 12, 1970' assert get_written_date(["04", "14", "2020"]) == 'April 14, 2020' assert get_written_date(["06", "19", "2000"]) == 'June 19, 2000'