Answer:
You learn how to animate and make websites
Explanation:
how to make websites and code/program games!!
Return the appropriate part of FizzBuzz This is a small part of a classic software engineering interview question. fizz_buzz_check takes a single integer argument, number. Complete the function such that it returns a value using the following rules: If the number is divisible by 3 (i.e division by 3 has a remainder of 0), return the string Fizz. If it is divisible by five, return the string Buzz. If it is divisible by 3 AND 5, return FizzBuzz. Otherwise, just return the original argument back without any changes.
Answer:
The function in Python:
def fizz_buzz_check(num):
if num%3 == 0:
result = "Fizz"
if num%5 == 0:
result = "Buzz"
if num%3 == 0 and num%5 == 0:
result = "FizzBuzz"
if num%3 != 0 and num%5 != 0:
result = num
return result
Explanation:
The function to complete is not given. So, I write a new function from scratch.
This defines the function
def fizz_buzz_check(num):
This checks if num is divisible by 3
if num%3 == 0:
If yes, the returned value is stored as "Fizz"
result = "Fizz"
This checks if num is divisible by 5
if num%5 == 0:
If yes, the returned value is stored as "Buzz"
result = "Buzz"
This checks if num is divisible by 3 and 5
if num%3 == 0 and num%5 == 0:
If yes, the returned value is stored as "FizzBuzz"
result = "FizzBuzz"
This checks if num is not divisible by 3 and by 5
if num%3 != 0 and num%5 != 0:
If yes, the returned value is stored as the initial argument
result = num
This returns the appropriate value
return result
6.20 LAB: Acronyms An acronym is a word formed from the initial letters of words in a set phrase. Write a program whose input is a phrase and whose output is an acronym of the input. If a word begins with a lower case letter, don't include that letter in the acronym. Assume there will be at least one upper case letter in the input. Ex: If the input is: Institute of Electrical and Electronics Engineers the output should be: IEEE
Answer:
Explanation:
The following code is written in Python. It creates a function that takes in a phrase as an argument. Then it splits the phrase into a list of words. Next, it loops through the list and adds the first letter of each word into the acronym variable if it is a capital letter. Finally, returning the acronym variable. Output can be seen in the attached picture below.
def accronymGenerator(phrase):
phrase_split = phrase.split(' ')
acronym = ""
for x in phrase_split:
if x[0].isupper() == True:
acronym += x[0]
else:
pass
return acronym
Introduction to Programming Workbook
Draw flowchart to find the largest among threu different numbers entered by a user
PLZZZ HELP
Select the correct answer.
A company utilizes a specific design methodology in the software design process. They utilize concepts of encapsulation in design. Which design methodology would they be using?
A.
structured design
B.
modular design
C.
object-oriented design
D.
rapid application development
E.
use-case design
Answer:
C is object-oriented design
In python please!!! Write the definition of a function named countPos that reads integer values from standard input until there are none left and returns the number that are positive. The function must not use a loop of any kind.
Answer:Here is the method countPos
static int countPos(Scanner input){ //method that takes a reference to a Scanner object
int counter=0; // to count the positive integers
int number; //to store each integer value
if(input.hasNextInt()){ //checks if next token in this scanner input is an integer value
number=input.nextInt(); //nextInt() method of a Scanner object reads in a string of digits and converts them into an int type and stores it into number variable
counter=countPos(input); //calls method by passing the Scanner object and stores it in counter variable
if(number>0) //if the value is a positive number
counter++; } //adds 1 to the counter variable each time a positive input value is enountered
else { //if value is not a positive integer
return counter; } //returns the value of counter
return counter; } //returns the total count of the positive numbers
Explanation:
Here is the complete program:
import java.util.Scanner; //to take input from user
public class Main { //class name
//comments with each line of method below are given in Answer section
static int countPos(Scanner input){
int counter=0;
int number;
if(input.hasNextInt()){
number=input.nextInt();
counter=countPos(input);
if(number>0)
counter++; }
else {
return counter; }
return counter; }
public static void main(String[] args) { //start of main function
System.out.println("Number of positive integers: " + countPos(new Scanner(System.in))); } } //prints the number of positive integers by calling countPos method and passing Scanner object to it
The program uses hasNextInt method that returns the next token (next input value) and if condition checks using this method if the input value is an integer. nextInt() keeps scanning the next token of the input as an integer. If the input number is a positive number then the counter variable is incremented to 1 otherwise not. If the use enters anything other than an integer value then the program stops and returns the total number of positive integers input by the user. This technique is used in order to avoid using any loop. The program and its output is attached
Explanation:
what is information richness
Information Richness is the ability of information to change understanding within a time interval.
Hope it helps. Have a great day.
Brainliest would be greatly appreciated.
___________________________________________________________
#SaveTheEarth
#SpreadTheLove
- Mitsu JK
The following table represents the addresses and contents (using hexadecimal notation) of some cells in a machine's main memory.Starting with this memory arrangement , follow the sequence of instructions and record the final contents of each of these memory cells: Address Contents 00 AB 01 53 02 D6 03 02 Step 1. Move the contents of the cell whose address is 03 to the cell at address 00. Step 2. Move the value 01 into the cell at address 02. Step 3. Move the value stored at address 01 into the cell at address 03.
Answer:
I DON'T KNOW THE ANSWER SO SORRY
Explanation:
BUT THANKS FOR THE POINTS
When using for loops and two-dimensional arrays, the outside loop moves across the ___________ and the inside loop moves across the ___________.
indexes, elements
columns, rows
elements, indexes
rows, columns
Answer: rows, columns
Explanation: :)
Consider the following argument: Any piece of software that is in the public domain may be copied without permission or fee. But that cannot be done in the case of software under copyright. So, software under copyright must not be in the public domain. The conclusion of the argument is:
Answer:
"software under copyright must not be in the public domain"
Explanation:
The conclusion of his argument is "software under copyright must not be in the public domain". This combines the two premises that were stated before it in order to form a logical outcome based on the premises. In the case of logic, this would basically be an
IF A and IF B, Then C
type of logic, in which A is "Public Domain Work can be copied", B is "Software under Copyright cannot be copied", and C is the conclusion which would be "software under copyright must not be in the public domain"
All changes
1.(01.01 LC)
To make sure you do not get too tired when using the computer for long periods of time, how often should you get up to stretch and move? (5 points)
O Every hour
O Every 10 minutes
O Every 30 minutes
O Every two hours
You should get up and move every 30 minutes
Hope this helps
-scav
Answer:
C
Explanation:
All of the following are problem-solving steps except:
A. taking action.
B. defining the problem.
c. doing the first solution that comes to mind.
D. creating possible solutions.
Answer:
C. Doing the first solution that comes to mind.
Explanation:
Lets break this down a bit.
A is a great problem solving step, so we can mark that off.
We can do the same for B.
However, for C, I am hesitant about this one, so I wont mark it off quite yet.
Finally, for D, it is definitely a step, so I can mark that off.
You should never do the first solution that comes to mind, since you haven't done enough brainstorming about other ideas.
Hope this helps!
You have an audio that contains one pause for 0.2 seconds and another one for 0.6 seconds. When do you need to create a new segment?
5) Write a program to read text to end-of-file, and print a count of word lengths, i.e. the total number of words of length 1 which occurred, the number of length 2, and so on. Define a word to be a sequence of alphabetic characters. You should allow for word lengths up to 25 letters. A typical output should be like this: length 1 : 10 occurrences length 2 : 19 occurrences length 3 : 127 occurrences length 4 : 0 occurrences length 5 : 18 occurrences
Answer:
Explanation:
The following code is written in Python. It is a function that takes in the name of the file to be read and the size of the word. Then the function reads the file, removes whitespace and commas, splits the text into words, and scans the words for all the words that have the same length as the number passed. It counts all those words and prints out the number of occurrences of words of that length.
def countOccurrences(file_name, word_size):
f = open(file_name, 'r')
text = f.read()
text = text.replace(',', '')
split_text = text.split(' ')
occurrences = 0
for word in split_text:
if len(word) == word_size:
occurrences += 1
print("Length 1: " + str(occurrences) + " occurrences")
Label the following website navigation methods
according to their importance, where 1 is most
important and 3 is least important.
Site map:
Navigation menu:
Site search:
Answer:
Technology is very important
Answer:
Site map: 3
Navigation menu:1
Site search:2
Explanation:
Which one of the following is NOT a use of a database? sales statement patient list customer list inventory list
Answer:
a sales statement
Explanation:
From the different options provided, the only one that is not a use of a database would be a sales statement. These statements usually made at the end of the month or year which detail the companies' entire sales amount for that given time period. These hold alot of information but are mainly created once every cycle so there is never a need to use a database for such files. Also, these statements are rarely modified or requested so database usage would be wasted.
they will wash the car change into tag question
Answer:
They will wash the car, won't they?
Explanation:
A tag question usually comes after an independent clause. The tag question is most times attached with the intent of affirming the statement made in the independent clause. Our independent clause in the answer above is; "They will wash the car". The tag question, "Won't they?" is meant to affirm that statement.
Another example is, "They are going to school, aren't they?" In this example also, the independent clause makes a sentence that is to be confirmed by the tag question.
Why is it important to think about the programming language to use?
Answer:
"The choice of programming language determines the type of game you can make."
Explanation:
Programming language enables us to write efficient programs and develop online things based on the certain type of code.
Q3: State whether each of the following is true or false. If false, explain why. 1. A generic method cannot have the same method name as a nongeneric method. 2. All generic method declarations have a type-parameter section that immediately precedesthe method name. 3. A generic method can be overloaded by another generic method with the same methodname but different method parameters. 4. A type parameter can be declared only once in the type-parameter section but can appearmore than once in the method’s parameter list. 5. Type-parameter names among different generic methods must be unique. 6. The scope of a generic class’s type parameter is the entire class except its staticmembers.
Answer:
3
Explanation:
PLZZ HELP!!!
Select the correct answer.
Brian’s team has built a new application based on the client’s requirements. They will deploy this application in multiple locations on the client side. Brian is unsure about the hardware and software specifications at the client side. Which option will help him best solve this issue?
A.
creating multiple test scripts
B.
automating test scripts
C.
creating multiple test plans
D.
creating multiple test environments
E.
communicating with the development team
Answer: Option D creating muiltiple test enviroments
Explanation: I had the same question and I hope this helps ( :
The option that will help Brain best solve this issue is by creating multiple test environments.
What is the specification of software?A software requirements specification (SRS) is known to be a type of requirement that are often written in a document that tells more about what the software can do.
Hence in the above scenario, what will help help Brain best solve this issue is by creating multiple test environments where the client can see a demonstration and be convince in getting the product.
Learn more about application from
https://brainly.com/question/24847617
Which option is the default configuration of the Junk Email Options in Outlook 2016?
No Automatic Filtering
Low
High
Safe Lists Only
Answer:
No Automatic Filtering
Answer:
NO automatic filtering
Explanation:
i took the quiz
Read the following statements and use the drop-down menus to identify which statements are
conditional statements.
I am thinking about going to college.
I plan to go to college if my grades are good enough.
If my grades are very good, then I will select a college that offers scholarships.
I plan to visit several colleges to see what they offer and what the living situations look like.
If I do not qualify for any scholarships, then I will apply for student loans.
I will also start working a part-time job to help pay for college.
Answer:
I am thinking about going to college.
✔ not a conditional statement
I plan to go to college if my grades are good enough.
✔ conditional statement
If my grades are very good, then I will select a college that offers scholarships.
✔ conditional statement
I plan to visit several colleges to see what they offer and what the living situations look like.
✔ not a conditional statement
If I do not qualify for any scholarships, then I will apply for student loans.
✔ conditional statement
I will also start working a part-time job to help pay for college.
✔ not a conditional statement
If I go to college, then my parents will let me take the extra car with me.
✔ conditional statement
If I do not go to college and stay home, then my parents want me to start paying rent.
✔ conditional statement
Answer:
These are correct!
I am thinking about going to college. ✔ not a conditional statement
I plan to go to college if my grades are good enough. ✔ conditional statement
If my grades are very good, then I will select a college that offers scholarships. ✔ conditional statement
I plan to visit several colleges to see what they offer and what the living situations look like. ✔ not a conditional statement
If I do not qualify for any scholarships, then I will apply for student loans. ✔ conditional statement
I will also start working a part-time job to help pay for college. ✔ not a conditional statement
If I go to college, then my parents will let me take the extra car with me. ✔ conditional statement
If I do not go to college and stay home, then my parents want me to start paying rent. ✔ conditional statement
Explanation:
They are correct! I answered them and got them all right!
Why data mining is crucial for the success of a business, explain with examples
Answer:
For businesses, data mining is used to discover patterns and relationships in the data in order to help make better business decisions. Data mining can help spot sales trends, develop smarter marketing campaigns, and accurately predict customer loyalty.
What information will you find in the 16-bit field in an IP datagram?
Answer: This 16-bit field defines the entire packet size in bytes, including header and data. The minimum size is 20 bytes (header without data) and the maximum is 65,535 bytes. All hosts are required to be able to reassemble datagrams of size up to 576 bytes, but most modern hosts handle much larger packets.
Explanation: Hopefully this helps you with what ever u are doing.
An information which you will find in the 16-bit field in an IP datagram is: the total length of the datagram it's attached to.
An IP address is an abbreviation of internet protocol address and it can be defined as a unique number assigned to a computer or other network devices such as routers, switches, etc., in order to differentiate each device from one another in an active network system. Thus, an IP address is typically used to uniquely identify each computer or network device connected to the internet or an interconnected network.
In Computer networking, IP address are classified into two (2) main categories and these are;
Local (internal) IP address.Global (external) IP address.An IP datagram can be defined as the standard format of data that an internet protocol (IP) recognizes.
Generally, an IP datagram comprises two (2) main components and these include:
1. The header: it is used for sending messages on a computer to the protocol in the same layer of a destination (recipient) computer.
2. The data: this is a set of information that is transmitted from one computer to another over an interconnected network.
On a related note, an IP datagram contain three (3) fields which are typically used for the transmission of data;
Header length.IP version.Total length.The Total length is a field that is used to specify the total length of an IP datagram and it is typically 16-bits in size.
In conclusion, an information which is found in the 16-bit field in an IP datagram is the total length of the datagram it's attached to.
Find more information here: https://brainly.com/question/19204809
⚠️⚠️⚠️⚠️HELP - What is the software that allocates resources of a physical computer to a virtual machine?
Group of answer choices
Switch
Operating systems
Hypervisor
HostVM
Answer:
the answer is going to be hostvm
Digital computers use a........ system to encode date and programs.
Answer:
Digital computers use a binary system to encode date and programs.
My teacher just asked, "What did you learn about coding and how can it help u through life." CAN SOMEONE PLZ ANSWER BC I DONT KNOW.
Answer:
Coding is becoming a big thing in America because more and more jobs are on the computer, because they future is tech.
Explanation:
i dont know something like tht
Draw a data flow diagram that indicates the condition and factors that must be satisfied before a customer request for goods can be granted from a factory
Need help ASAP??? Pick the best answers
Answer:
A and C are correct pick both
PLEASEE HELPP.... QUESTION... how does coding impact your life
Answer: It allows us to do everyday tasks on the internet
Explanation: We wouldn’t be able to email, research, etc without coding!
-- of 5 points Question 3 1 try left While designing a new system, a company uncovered several processes that were quite rule-based, and that didn't really require staff to handle. The company chose to automate those processes using ___________________________ so they would no longer need to assign people to perform those tasks. A. code review B. robotic process automation C. application programming interfaces D. service-oriented architecture
Answer:
B. robotic process automation.
Explanation:
In the design of a new system, a company was able to uncover several processes that were typically rule-based, and which did not really require staff to control or handle.
Hence, the company chose to automate those processes using robotic process automation so they would no longer need to assign people to perform those tasks.