discussed big data , data warehouse and google database for big data and bootstrapping technique for data analytics to a real life business scenario.
Writing Requirements
In: Computer Science
Collect Information about two network design tools (if it allows you to explore or manage a network, it is a management tool, not a design tool) and compare and contrast what they can and cannot do. Submit in a Word document.
In: Computer Science
Take a critical look at three GUI applications you have used—for example, a spreadsheet, a word-processing program, and a game. Describe how well each conforms to the GUI design guidelines listed in this chapter.
In: Computer Science
In: Psychology
Discuss an important concept from You Are Not So Smart.
Please make sure the answer is at least 250 words. ******250 words each and include a word count. Each question is worth 12.5 points.******
In: Psychology
500-750 word essay
1) Pick a company and assess the effectiveness of its response to the current pandemic (hint: use relevant concepts from business policy and strategy course to make your argument)
In: Operations Management
2. Write a Regular expression that matches words, where a word is a series of ASCII alphabetic characters. Match both upper- and lowercase.
Note: Enter man grep to read about the options
of grep.
Answer:
In: Computer Science
1 Introduction
You will write a program to find the top k most repeated words in a
file, where k will be an input integer provided by the user. It is
preferred, but not necessary, that your algorithm is as efficient as
possible, both in time to process the input as well as optimizing
memory management.
2 Input
The input is one text file, with at most 1000 different words,
separated by spaces or punctuation symbols. Repeated spaces should
be considered a sone space.
Youcanassumethatwordswillbeatmost100characters long. The file may
also contain number that you can ignore. Example of input and
result file:
input.txt
-----------------------------------------------------------The
Hungry, hungry caterpillar a Eric Williams. Yu Xu Z ABC abc
hand-made Abc Denon xyz 123456 the end
-----------------------------------------------------------
3 Program and input specification
The main program should be called ”topkword” (exactly like this, in
lower case, avoid other names). Call syntax (assuming your main
program is topkword.py):
python3 topkword "input=input.txt;k=2;output=topwords.txt"
A word is regular expression of letters: letter+, where letters can
be lower or upper case. Therefore, numbers and strings mixing
letters + numbers can be ignored.
Noticethatwordscanbefollowedbypunctuationsignsandthatsomeofthemcanbecapitalized.
This should not interfere with your results: a capitalized
word is the same as a non-capitalized word for the purposes of this
homework. Uppercase letters can be anywhere in the word, for ex.:
”Hungry”, ”hungry” and ”hUngry” should be counted as the same word.
Punctuation can also be ignored. Notice that the file name will not
necessarily be the same every time. Therefore ,your program will
have to parse the input file name. The output should be sent to the
output file exactly in the format below with each word and its
frequency, one per line. Avoid changing the output format or adding
any other messages since this will prevent automated testing.
Output example with k = 2:
abc 3 hungry 2
4 Requirements • Programming language: Python, version 3 (any)
meeting the requirements below. • Recursive functions are required.
It is unacceptable to have loops (while/for) to process the
list(s). While loops are acceptable only to read the input file, but
recursive functions are encouraged. • Lists (dynamically sized) are
required to store the list of unique words. A program using arrays
to store words will receive a low grade. However, (small) arrays
for input parameters or other auxiliary variables are acceptable. •
The output should always be in lowercase, regardless of how the
words appear in the text. Therefore, your program should internally
convert words to lower case. • Correctness is the most important
requirement: TEST your program with many expressions. Your program
should not crash or produce exceptions. • The list needs to be
passed as function argument and/or function return value, but
cannot be a global variable. The program must be prepared to handle
zeroes or simple errors like spaces or missing numbers extra credit
for developing both forward and backward recursion starting from
either side of the list
In: Computer Science
Question Prompt (1 of 1)
You are running a classroom and suspect that some of your students are cheating by sharing answers as single words hidden in 2D grids of letters.
A particular grid contains at most one word. The word may start anywhere in the grid, and consecutive letters can be either below or to the right of the previous letter.
The input will consist of a word and a grid. Print the location of the word in the grid as a list of “row column” coordinates, each on its own line. If the word does not appear in the grid, just print “None”.
Example input:
catnip c r c a r s a b i t n b t f n n t i x s i i p t
Example output
0 2 0 3 1 3 2 3 3 3 3 4
Clarifications:
Starter code is provided for the following languages: Java, C, C++, JavaScript,
If you wish to use a different language, please write a
solution
that reads from STDIN and writes to STDOUT. To obtain starter
code,
change the language to one of the previously mentioned
languages.
Public test 1
Input:
car
c r c r a c a b i t n b t f n n t i
Expected Output:
None
Public test 2
Input:
car
c r c c a r a b i t n b t f n n t i
Expected Output:
0 3 0 4 0 5
Public test 3
Input:
carsick c r c a r s a b i t n b t f n n t i x s c a t n x s d d e a s q w x s p
Expected Output:
None
Public test 4
Input:
catnap c r c a r s a b i t n b t f n n t i x s c a t n x s d d e a s q w x s p
Expected Output:
3 2 3 3 3 4 3 5 4 5 5 5
Public test 5
Input:
catnip c r c a r s a b i t n b t f n n t i x s i i p t
Expected Output:
0 2 0 3 1 3 2 3 3 3 3 4
In: Computer Science
4.9 Branching Practice - Python Exercise
#Write the code for the following
# Exercise 1
# Ask user for a number using an input statement (no prompt) &
assign the input to a variable
# Convert the user entry to an integer and assign it to a
variable
# Condition: user entry is greater than zero
# Action: display the following word on screen: positive
# Exercise 2
# Ask user for a number using an input statement (no prompt) &
assign the input to a variable
# Convert user entry to an integer and assign it to a
variable
# Condition: user entry is greater than 99
# Action: display the following word on screen: hundreds
# Exercise 3
# Ask user for a number using an input statement (no prompt) &
assign the input to a variable
# Convert user entry to an integer and assign it to a
variable
# Condition: user entry is less than zero
# Action: display the following word on screen: negative
# Exercise 4
# Ask user for a number using an input statement (no prompt) &
assign the input to a variable
# Convert the user entry to an integer and assign it to a
variable
# Condition: user entry is less than zero
# Action: display the following word on screen: negative
# All other conditions
# Action: display the following word on screen: positive
# Exercise 5
# Ask user for a number using an input statement (no prompt) &
assign the input to a variable
# Convert user entry to an integer and assign it to a
variable
# Condition: user entry is greater than 99
# Action: display the following word on screen: hundreds
# All other conditions
# Action: display the following words on screen: low number
# Exercise 6
# Ask user for a number using an input statement (no prompt) &
assign the input to a variable
# Convert user entry to an integer and assign it to a
variable
# Condition: user entry is equal to 2001
# Action: display the following words on screen: Twin Towers
# Condition: user entry is equal to 2008
# Action: display the following words on screen: Great
Recession
# Condition: user entry is equal to 2017
# Action: display the following words on screen: Hurricane
Maria
# All other conditions
# Action: display the words No Disasters on screen
# Exercise 7
# Ask user for a number using an input statement (no prompt) &
assign the input to a variable
# Convert user entry to an integer and assign it to a
variable
# Condition: user entry is equal to 2001
# Action: display the following phrase on screen using a
combination of the user entry and exact text: 2001 : Twin
Towers
# Condition: user entry is equal to 2008
# Action: display the following phrase on screen using a
combination of the user entry and exact text: 2008 : Great
Recession
# Condition: user entry is equal to 2017
# Action: display the following phrase on screen using a
combination of the user entry and exact text: 2017 : Hurricane
Maria
# All other conditions
# Action: display the following phrase on screen using exact text
only: No disasters!
In: Computer Science