Answer:
The program in Python is as follows
def Paths(row,col):
if row ==0 or col==0:
return 1
return (Paths(row-1, col) + Paths(row, col-1))
row = int(input("Row: "))
col = int(input("Column: "))
print("Paths: ", Paths(row,col))
Explanation:
This defines the function
def Paths(row,col):
If row or column is 0, the function returns 1
if row ==0 or col==0:
return 1
This calls the function recursively, as long as row and col are greater than 1
return (Paths(row-1, col) + Paths(row, col-1))
The main begins here
This prompts the user for rows
row = int(input("Row: "))
This prompts the user for columns
col = int(input("Column: "))
This calls the Paths function and prints the number of paths
print("Paths: ", Paths(row,col))
Good safety with the use of cellphones
Answer:
what kind of question is this ?
Which work habits should you follow to increase work efficiency and avoid health issues?
Answer:
Just get good sleep, eat breakfast, and exercise.
Answer:
take periodic breaks and alternate between tasks
Manny has drafted an email message and configured a delivery option "Do not deliver before: 5:00 P.M. and today's date." He shuts down his computer and leaves for the day at 4:30 p.m. What will happen at 5 p.m.?
Answer:
The Email will send.
Explanation:
The email will send as long as there is internet connection.
Answer: this isnt an answer but i really need ur help.. did u pass the microsoft unit test? I cant pass it if my life depended on it
Explanation:
Its on edge
requires the receiver to guess the message by
using redundant bits.
Select one
O Forward error correction
OPanity check
ORetransmission
OBlock rolina
Answer:
Forward error correction requires the receiver to guess the message by using redundant bits.
hope it is helpful to you
Answer:
forward error correction
is the first one
Where does your father go every morning?
Answer:
work
Explanation:
it's depends if you have a father because if you don't, that means he is with is other son/daughter.
How does it transform your ways of socializing
How to transform your ways of socializing:
Know Yourself. The first and foremost reason why many people fail in effective socializing is the fact that they don’t know themselves well.
Be yourself. Another reason of failing to socialize or failing to make that “first impression” is that we try to mimic others.
Body Language. The way you walk, stand, talk, eat and sit… Each and every gesture and posture of yours speaks volumes about you.
Your attire. I had a client who had severe social anxiety. It was aggravated when her mother forced her to wear stuff that was too body revealing.
etc.
This was written from a biography about someones experience.
_____________________________
Brainliest would be greatly appreciated.
I found this!
______________________________
#SpreadTheLove
#SaveTheTrees
Which of the following protocols help IP in multicast service?
Select one:
ORARP
O CMP
O ARP
O IGMP
Answer:
I guess IGMP.............
Answer:
IGMP
Explanation:
The correct answer is actually IGMP snooping.
so from your options it's IGMP
are you interested in cyber security?
17. What are the basic modes of operation of 8255?Write the features of mode 0 in 8255?
Answer:
There are two basic operational modes of 8255:
Bit Set/Reset mode (BSR mode).
Input/Output mode (I/O mode).
Features of 8255 Microprocessor:
Mode 0 : Simple Input/Output.
Mode 1 : Input/Output with handshake.
Mode 2 : Bi-directional I/O data transfer.
It has three 8-bit ports : Port A, Port B, and Port C, which are arranged in two groups of 12 pins.
The 8255 can operate in 3 I/O modes : (i) Mode 0, (ii) Mode 1, & (iii) Mode 2.
Create an application containing an array that stores eight integers. The application should call five methods that in turn:
Display all the integers
Display all the integers in reverse order
Display the sum of the integers
Display all values less than a limiting argument
Display all values that are higher than the calculated average value.
public class ArrayMethodDemo {
public static void main (String args[]) {
int[] numbers = {12, 15, 34, 67, 4, 9, 10, 7};
int limit = 12;
display(numbers);
displayReverse(numbers);
displaySum(numbers);
displayLessThan(numbers, limit);
displayHigherThanAverage(numbers);
}
public static void display(int[] numbers) {
// Write your code here
}
public static void displayReverse(int[] numbers) {
// Write your code here
}
public static void displaySum(int[] numbers) {
// Write your code here
}
public static void displayLessThan(int[] numbers, int limit) {
// Write your code here
}
public static void displayHigherThanAverage(int[] numbers) {
// Write your code here
}
}
public class ArrayMethodDemo {
public static void main (String args[]) {
int[] numbers = {12, 15, 34, 67, 4, 9, 10, 7};
int limit = 12;
display(numbers);
displayReverse(numbers);
displaySum(numbers);
displayLessThan(numbers, limit);
displayHigherThanAverage(numbers);
}
public static void display(int[] numbers) {
//Message to be displayed before printing out the numbers
System.out.print("Numbers in the array: ");
//loop through the numbers in the array and print each number
for(int x: numbers){
System.out.print(x + " ");
}
//print a new line
System.out.println();
}
public static void displayReverse(int[] numbers) {
//Message to be displayed before printing out the reverse of the array
System.out.print("Reverse of the array numbers: ");
//loop through the array starting from the last index
for(int i = numbers.length - 1; i > 0; i--){
System.out.print(numbers[i] + " ");
}
//print a new line
System.out.println();
}
public static void displaySum(int[] numbers) {
//initialize the sum variable
int sum = 0;
//loop through the array and add each element to sum
for(int i = 0; i < numbers.length; i++){
sum += numbers[i];
}
//print out the sum
System.out.println("Sum: " + sum);
}
public static void displayLessThan(int[] numbers, int limit) {
//Text to be displayed before printing values less than the limit
System.out.print("Values less than limit (" + limit + "): ");
//loop through the array and print numbers lower than the specified limit
for(int i = 0; i < numbers.length; i++){
if(numbers[i] < limit){
System.out.print(numbers[i] + " ");
}
}
//print a new line
System.out.println();
}
public static void displayHigherThanAverage(int[] numbers) {
//initialize the average variable
double average = 0.0;
//initialize the sum variable
int sum = 0;
//loop through the array and add each element to sum
for(int i = 0; i < numbers.length; i++){
sum += numbers[i];
}
//calculate the average
average = sum / numbers.length;
//Message to be displayed before printing the values higher than the average
System.out.print("Values higher than average (" + average + "): ");
//loop through the array and print numbers higher than the calculated average
for(int i = 0; i < numbers.length; i++){
if(numbers[i] > average){
System.out.print(numbers[i] + " ");
}
}
//print a new line
System.out.println();
}
}
Sample Output:
Numbers in the array: 12 15 34 67 4 9 10 7
Reverse of the array numbers: 7 10 9 4 67 34 15
Sum: 158
Values less than limit (12): 4 9 10 7
Values higher than average(19.0):34 67
Explanation:The code above contains comments explaining important parts of the code. Kindly go through the comments. A sample output, arising from running the application, has also been added to ace understandability.
What is needed to broadcast a presentation on the internet using PowerPoint’s online service?
Answer:
a Microsoft account
Explanation:
Answer:
Its B
a Microsoft account
Explanation:
Dante needs to query a table to find all the references to a particular product and apply a 10%
discount. Which query should he utilize?
O make table query
O delete query
O update query
O append query
Answer:
update query
I hope this helps a little bit.
Answer:
update query
Explanation:
took the test
Which of the following statements is TRUE of a peer-to-peer network?
A. Different parties have very different opinions on what can and can’t be shared through a peer-to-peer network.
B. In a peer-to-peer network, all files being shared are kept on one server. Anyone who wants to access one of those files can get it directly from the server.
C. A peer-to-peer network can create heavy traffic and makes download times increase significantly.
D. Creating a directory of which computers have certain files is an acceptable practice.
Answer:
A. Different parties have very different opinions on what can and can’t be shared through a peer-to-peer network.
Explanation:
CORRECT
Choice 'A' is very true. There have been many arguments and court cases over what content can and cannot be shared through a peer-to-peer network. Users of these networks often argue that free speech allows us to share whatever we want online. Content creators on the other hand frequently sue for copyright infringement.
INCORRECT
Choice 'B' is describing a centralized system, not a peer-to-peer network. In a peer-to-peer network, there is no central location of files. Files are transferred directly from one computer to another without a middleman.
Choice 'C' is also not true of peer-to-peer networks. These networks are actually much more efficient than centralized systems because there is no large server holding all the files. It takes less time to download files from a peer-to-peer network because there is no centralized source of information and files.
Choice 'D' is also false; this was decided in the court case about Napster, one of the first large peer-to-peer networks. Having a centralized directory of who has which files is not considered free speech.
The peer-to-peer network is said to have varying views that form the basis of what can and cannot be shared. Thus, option A is correct.
What is a peer-to-peer network?A peer-to-peer network is given as the connection of the computers that are linked with the following same responsibilities and permissions.
The network is said to have varying views. Many debates and court cases have erupted over what content can and cannot be shared over a peer-to-peer network.
Users of these sites frequently argue that freedom of speech allows us to share whatever we want on the internet.On the other hand, content creators frequently file copyright infringement lawsuits.Thus, option A is correct.
Learn more about peer-to-peer networks, here:
https://brainly.com/question/1172049
#SPJ2
Factory Design Pattern Assignment This assignment will give you practice in using the Factory/Abstract Factory Design Pattern. You are going to create a Terraforming program. What does terraform mean
Answer:
Terraform is an open-source infrastructure as code software tool that enables you to safely and predictably create, change, and improve infrastructure.
Write a program that randomly (using the random number generator) picks gift card winners from a list of customers (every customer has a numeric ID) who completed a survey. After the winning numbers are picked, customers can check if they are one of the gift card winners. In your main function, declare an integer array of size 10 to hold the winning customer IDs (10 winners are picked). Pass the array or other variables as needed to the functions you write. For each step below, decide what arguments need to be passed to the function. Then add a function prototype before the main function, a function call in the main function and the function definition after the main function.
Answer:
Explanation:
Since no customer ID information was provided, after a quick online search I found a similar problem which indicates that the ID's are three digit numbers between 100 and 999. Therefore, the Java code I created randomly selects 10 three digit numbers IDs and places them in an array of winners which is later printed to the screen. I have created an interface, main method call, and method definition as requested. The picture attached below shows the output.
import java.util.Random;
interface generateWinner {
public int[] winners();
}
class Brainly implements generateWinner{
public static void main(String[] args) {
Brainly brainly = new Brainly();
int[] winners = brainly.winners();
System.out.print("Winners: ");
for (int x:winners) {
System.out.print(x + ", ");
}
}
public int[] winners() {
Random ran = new Random();
int[] arr = new int[10];
for (int x = 0; x < arr.length; x++) {
arr[x] = ran.nextInt(899) + 100;
}
return arr;
}
}
Which statement creates a StudentIDs object given the following code: public class StudentIDs> { private TheType item1; private TheType item2; public StudentIDs(TheType i1, TheType i2) { item1 = i1; item2 = i2; } }
a. StudentIDs newStudent = new StudentIDs(9, 5);
b. StudentIDs newStudent = new StudentIDs (Integer iVal1, Integer iVal2);
c. StudentIDs newStudent = new StudentIDs(int iVal1, int iVal2);
d. StudentIDs newStudent = new StudentIDs(9, 5);
Answer:
StudentIDs<TheType> newStudent = new StudentIDs<TheType>(9,5);
Explanation:
Required
Which statement creates a studentIDs object
The question has conflicting details as none of the options is true because some definitions that do not appear in the options.
So, I will answer the question based on the definition in the question.
From the question, we have the class definition to be:
public class StudentIDs<TheType extends Comparable<TheType>>
The above definition is a simple generic java class that follows:
public class Class-Name<Variable-name extends Comparable<Variable-name>>
The object of the class will be created using the following syntax:
Class-Name<TheType> Object-Name = new Class-Name<TheType>();
By comparison:
Class-Name = StudentIDs
Variable-name = TheType
So, the object will be defined as:
StudentIDs<TheType> newStudent = new StudentIDs<TheType>();
Solving further:
The class declares two variables (i1 and i2) as follows:
public StudentIDs(TheType i1, TheType i2)
This means that two TheType variables and/or values will be passed along with the definition of the class.
So, the object definition will be:
StudentIDs<TheType> newStudent = new StudentIDs<TheType>(9,5);
Write a program that prompts the user to enter an oligonucleotide sequence, such as TATGAGCCCGTA.
If the user entered a valid oligo sequence consisting only of the characters A, C, G, or T, the program should then display the reverse complement of that sequence, in this case TACGGGCTCATA, along with text indicating that it is the reverse complement .
After displaying the reverse complement, the program should then prompt the user to enter another sequence. The program should continue this pattern of prompting the user for a new oligo sequence and displaying its reverse complement until the user enters a sequence with at least one character that is invalid (i.e. a character other than A, C, G, or T).
Answer:
Explanation:
The following code is written in Python. It continues looping and asking the user for an oligonucleotide sequence and as long as it is valid it outputs the reverse complement of the sequence. Otherwise it exits the loop
letters = {'A', 'C', 'G', 'T'}
reloop = True
while reloop:
sequence = input("Enter oligonucleotide sequence: ")
for x in sequence:
if x not in letters:
reloop = False;
break
if reloop == False:
break
newSequence = ""
for x in sequence:
if x == 'A':
newSequence += 'T'
elif x == 'T':
newSequence += 'A'
elif x == 'C':
newSequence += 'G'
elif x == 'G':
newSequence += 'C'
print("Reverse Complement: " + newSequence)
What is the definition of personality? Your talents and skills The way you prefer to think and act The things that make you unique The jobs at which you will be good
Answer:
The things that make you unique.
Explanation:
Personality can be defined as a unique blend of various characteristics or traits such as mental, physical, emotional and social with respect to an individual. Thus, these characteristics, qualities or traits influences the way a person acts, thinks, feel and behave in relation with their environment and others.
Some of the factors that influence the personality of a person includes the following;
I. Hereditary.
II. Environment.
III. Culture.
IV. Family background.
Hence, the definition of personality would be the things that make an individual or a person unique.
This ultimately implies that, a person's personality is unique to him or her and as such differentiates them entirely from another person based on thought, emotional and behavioral patterns.
Furthermore, the four types of personality are;
1. Driver personality.
2. Amiable personality.
3. Expressive personality.
4. Analytical personality.
Answer: The way you prefer to think and act
Explanation:aaaaaaaaaaAAAAAAAAAAAAAAAAA
A project team using a linear, sequential model builds a software application over a long duration. All activities in the project are carried out one after the other. Once the product is tested, the team installs the application. Which phase of this model involves installation?
A.
system design
B.
coding
C.
deployment
D.
requirements gathering
E.
testing
Answer:
C. Deployment
Explanation:
Deployment is the phase at which the product is installed after testing.
Walt needs to ensure that messages from colleague in another organization are never incorrectly identified as spam. What should he do?
- configure a safe recipient
- configure a blocked sender
- configure a safe sender
- do nothing
Answer:
Configure a safe sender.
Explanation:
Spam is a computer term that designates unwanted messages in an email, as well as advertising messages on websites. The main characteristic of these messages is that they do not respond to any previous action on the part of the receiver, such as a conversation with the sender or an advertisement that arises from search engine algorithms, but is sent randomly by an anonymous sender with objectives that are not entirely clear or legitimate.
Therefore, if Walt wishes that his colleague's messages are not classified as spam, he must categorize this person as a safe sender within his email box.
What symbol next to the records indicates that a table includes a subdatasheet? an asterisk a plus sign a question mark an exclamation point
Answer:
A plus sign
Explanation:
EDGE 2021
Answer: or in other words B
Explanation: on edg hop this helps
Viruses and Malware Complete the case project on page 82 of the textbook by researching two types of viruses, two types of malware, and two types of denial of service attacks using the internet or any other type of resource available to you. Next, write at least a two page paper in current APA format that lists each of the researched items, how they are used to attack a system or network, and what types of defenses can be put in place to protect against those attacks. Find an article which describes the compromise of a company organization through a virus or malware. Write a one page paper in APA format summarizing the security incident and how it was resolved or what actions could have been taken to prevent it.
Hi, I provided you a general guide on how to go about your writing your research paper.
Explanation:
Note, the current APA (American Psychological Association) format is the APA 7th Edition. This format details how a researcher should state the findings, sources, conclusion, etc.
Hence, you can begin writing the assigned paper only after gathering the needed data.
-1
Draw a flowchart to input two
numbers in variables M and N and
print the multiplication table from 1*1
to M*N
Answer:A flowchart is a diagram that depicts the steps involved in solving a problem. The following flowchart shows how to output the multiplication table ( n * 1 to m * 1) of a number, n and m:
Sorting Records in a Form
Use the drop-down menus to complete the steps for sorting records in a form.
1. Open the form in the standard form view.
2. Put the cursor in the
to use for sorting.
3. Open the
4. In the Sort & Filter group, click
v tab.
Answer:
1. Open the form in the standard form view.
2. Put the cursor in the field to use for sorting.
3. Open the Home tab
4. In the Sort & Filter group, click ascending or descending
Explanation:
Took the test :)
The complete forum to complete the steps for sorting records in a form is discussed below:
What do you mean by speed records?You can specify the order of the records that are returned for each navigation query by sorting. It can be adjusted either globally or for each query. You can specify the number of characteristics and the ascending or descending order of pairs of values when submitting a simple navigation request.
Launch the default form view by opening the form.
2. Position the cursor within the field you want to sort.
3. Click on the Home tab.
4. Select either ascending or descending in the Sort & Filter group.
Learn more about sorting records here:
https://brainly.com/question/13130958
#SPJ1
Which is the least technically experienced technical support group?
O tier 2 support
tier 3 support
multi-channel support model
tier 1 support
Answer:
Tier 1 support
Explanation:
Of the given options, tier 1 support technical group is the least experienced group. This group of technicians is also referred to as level 1 technical group.
The tier 1 or level support are made up of junior technician, and they have few technical understandings.
Their roles include email response and basic troubleshooting, attending to phone calls, among others.
When a problem cannot be solved by tier 1 support technicians, they pass the problem to tier 2 support technicians,
Describe a cellular network, its principal components, and how it works.
Answer:
The final basic component of a cellular system is the Gateway. The gateway is the communication links between two wireless systems or between wireless and wired systems. There are two logical components inside the Gateway: mobile switching center (MSC) and interworking function (IWF).
Explanation:
g Write a function called chain_words(str) which takes in one parameter which is a string that holds multiple words separated by spaces. Your function should return a string with the words chained together with an - (hyphen). You can first split the words at spaces and then join the words with - (hyphen). You can achieve this by using split and join methods respectively.
Answer:
Explanation:
The following is written in Python. The function takes in a string as a parameter. It then sperates the string at every space. Then it rejoins the list of strings with hyphens. Finally, returning the newly created string with hyphens.
def chain_words(str):
string_split = str.split(" ")
seperator = '-'
hyphen_string = seperator.join(string_split)
return hyphen_string
Type the correct answer in the box. Spell all words correctly.
John wants to use graphical elements on his web page. Which image formats should he use to keep the file size manageable?
John should use
formats to keep the file size manageable.
Answer:
PNG, GIF
Explanation:
Write a program whose input is a character and a string, and whose output indicates the number of times the character appears in the string. The output should include the input character and use the plural form, n's, if the number of times the characters appears is not exactly 1. g
Answer:
The program in Python is as follows:
string = input("String: ")
chr = input("Character: ")[0]
total_count = string.count(chr)
print(total_count,end=" ")
if total_count > 1:
print(chr+"'s")
else:
print(chr)
Explanation:
This gets the string from the user
string = input("String: ")
This gets the character from the user
chr = input("Character: ")[0]
This counts the occurrence of the character in the string
total_count = string.count(chr)
This prints the total count of characters
print(total_count,end=" ")
If the count is greater than 1
if total_count > 1:
Then it prints a plural form
print(chr+"'s")
If otherwise
else:
Then it prints a singular form
print(chr)
Which company provides a crowdsourcing platform for corporate research and development?
OA.
MTurk
OB.
WikiAnswers
O C.
MediaWiki
OD.
Innocentive
Answer:
OA.
MTurk(mechanical turk)
Explanation:
Mechanical Turk is a Microwork service provided by Amazon. Correct answer: C It is an online “crowdsourcing” marketplace that was launched in 2005 by Amazon.
This site (service) allows businesses and individuals to post short tasks and pay workers to complete them.
Mechanical Turk is a company that provides a crowdsourcing platform for corporate research and development.
What is Mechanical Turk?Mechanical Turk is a crowdsourcing platform that gather information and makes it possible for individuals and businesses to outsource jobs to people who have the ability to do the task online or virtually. These can include data entry, reasearch, survey participation and so on. to a distributed workforce who can perform these tasks virtually.
Crowdsourcing is a platform that gather information about jobs and service provider online.
Therefore, Mechanical Turk is a company that provides a crowdsourcing platform for corporate research and development.
Learn more of Crowdsourcing from the link below.
https://brainly.com/question/1788104.
__' the low level language? a.machine and assembly c.3G and 4G d.machine and 4gl
Answer:
a. machine and assembly.
Explanation:
An instruction set architecture (ISA) can be defined as series of native memory architecture, instructions, addressing modes, external input and output devices, virtual memory, and interrupts that are meant to be executed by the directly.
Basically, this set of native data type specifies a well-defined interface for the development of the hardware and the software platform to run it.
A software can be defined as a set of executable instructions (codes) or collection of data that is used typically to instruct a computer how to perform a specific task and to solve a particular problem.
Machine and assembly are referred to as the low level programming language used in writing software programs or applications with respect to computer hardware and architecture. Machine language is generally written in 0s and 1s, and as such are cryptic in nature, making them unreadable by humans. Also, assembly language use commands written in English such as SUB, MOV, ADD, etc.
On the other hand, a high level language can be defined as a programming language which is generally less complex than a machine (low level) language and easy to understand by the end users (programmers).
This ultimately implies that, a high level programming language is typically a user friendly language and as such simplifies coding or programming for beginners.
Some examples of high level programming language are Python, Java, C#, Ruby, Perl, Visual Basic, PHP, Cobol, C++, Fortran, Javascript, etc.