Answer:
RecursiveCalls.backwardsAlphabet(startingLetter);
Explanation:
The statement that is needed is a single-line statement. Since the class RecursiveCalls is already in the same file we can simply use that class and call its function without making a new class object. Once we call that class' function we simply pass the variable startingLetter (which is already provided) as the sole parameter for the function in order for it to run and use the letter 'z' as the starting point.
RecursiveCalls.backwardsAlphabet(startingLetter);
A pre-design document you can use to create a new project quickly
Answer:
13) B - Landscape and Portrait
14) C - Template
Explanation:
The two print options are known as landscape and portrait and a template is a pre-designed document.
pls help will give brainlest
Answer:
C
Explanation:
Answer:using a louder voice
Source:trust me bro
Which feature is being used when connecting a device to the network using an electrical outlet?
Answer:
In other words, a WiFi bridge can convert Ethernet to WiFi. WiFi bridges can be high-performance and can support more WiFi network types than the T7-Pro can.
g 'write a function that takes as input a list and outs a new list containing all elements from the input
Answer:
def mylist(*args):
return args
new_list = mylist(2,3,4,5)
Explanation:
The simple python code above defines a function called mylist that receives multiple length of element as a list and returns the list a new list. The "*args" allows the function to receive any number of item and converts them to a list that is returned in the next statement.
The can also be achieved by simply assigning a squared bracket enclosed list to the variable or with the list() constructor.
1) Write a command line that recursively copy the directories and files inside /etc to your home directory. g
Answer:
cp -R /etc /home
Explanation:
The command statement above is a Linux command line statement used to copy the directories and subdirectories of the /etc folder.
The 'cp' command is used to conventionally copy files and folders but with the '-R' flag, the specified folder is copied recursively. To copy a folder to another recursively, use the syntax;
cp -R <source folder> <destination folder>
what is meant by resources of computer
Write a test program that prompts the user to enter a two dimensional array and displays the location of the smallest element in the array.
Answer:
def element_loc():
is_end = 'n'
dimen2 = []
while is_end == 'n':
par1 = input("Enter rows and columns: ").split(",")
part = [int(i) for i in par1]
dimen2. append(part)
is_end = input("Do you want to add more rows? y/n: ")
mini = list()
for i in dimen2:
mini. append(min(i))
result = min(mini)
row_index = mini. index(result)
col_index = dimen2[row_index]. index(result)
print("Row: ", row_index, "Col_index: ", col_index)
element_loc()
Explanation:
The python program solution above prompts users for the two-dimensional array and then the rows of the array are compared with the minimum value stored in another list or array. The row index and the column index are gotten from the mini and dimen2 arrays respectively and are displayed as the position of the minimum value in the two-dimensional array.
Write a method that reverses the sequence of elements in an array. For example, if you call the method with the array 1, 4, 9, 16, 9, 7, 4, 9, 11, then the array is changed to 11, 9, 4, 7, 9, 16, 9, 4, 1. Use one or more loops in your solution (do not use the Array Reverse method).
Answer:
The method written in Java is as follows:
public static void ArrayReverse(int myarray[]){
for(int index = myarray.length-1; index>=0;index--)
System.out.print(myarray[index]+" ");
}
Explanation:
This line defines the method
public static void ArrayReverse(int myarray[]){
This line iterates through the array from highest to least index
for(int index = myarray.length-1; index>=0;index--)
This prints the array elements in reverse
System.out.print(myarray[index]+" ");
}
To call the method from the main, use the following:
ArrayReverse(myarr);
However, myarr must be declared and populated as an integer array before the method is called
See attachment for illustration of the complete program (the main and the array reverse method)
A .cache is made up of _____ , each of which stores a block along with a tag and possibly a valid/dirty bit
Answer:
Blocks
Explanation:
A .cache is made up of blocks, each of which stores a block along with a tag and possibly a valid/dirty bit.
Basically, each blocks that makes up the cache stores additional block and sometimes a bit.
Suppose that you have the following declaration:
stack Type stack(50); double num; and the input is
25 64-3 6.25 36-4.5 86 14 -129
Write a C++ code that processes this input as follows: If the number is non-negative, it pushes the square root of the number onto the stack; otherwise it pushes the square of the number onto the stack. After processing these numbers write a C++ code that outputs the elements of the stack.
Answer:
Explanation:
The code is written in C++:
#include <iostream>
#include <stack>
#include <math.h>
#include <iomanip>
using namespace std;
/*
* Supporting method to print contents of a stack.
*/
void print(stack<double> &s)
{
if(s.empty())
{
cout << endl;
return;
}
double x= s.top();
s.pop();
print(s);
s.push(x);
cout << x << " ";
}
int main(){
// Declaration of the stack variable
stack<double> stack;
//rray with input values
double inputs[] = {25,64,-3,6.25,36,-4.5,86,14,-12,9};
/*
* For each element in the input, if it is positive push the square root into stack
* otherwise push the square into the stack
*/
for(int i=0;i<10;i++){
if(inputs[i]>=0){
stack.push(sqrt(inputs[i]));
}else{
stack.push(pow(inputs[i],2));
}
}
//Print thye content of the stack
print(stack);
}
OUTPUT:
5 8 9 2.5 6 20.25 9.27362 3.74166 144 3
-------------------------------------------------------------------------
Process exited after 0.01643 seconds with return value 0
Press any key to continue . . . -
FELLING GENEROUS GIVING AWAY POINTS:)
Who plays Lol btw (league of legends)
ADD me ign : Davidoxkiller (euw server)
Answer:
thanksssssssss
Write a loop to print all elements in hourly_temperature. Separate elements with a -> surrounded by spaces. Sample output for the given program: (must be in python)
90 -> 92 -> 94 -> 95
Note: There is a space after 95.
------------------------------------------------------------------------------------------------------------------------
hourly_temperature = [90, 92, 94, 95]
for temp in hourly_temperature:
for index,temp in enumerate(str(temp)):
if index != len(temp)-1:
print(temp,'->',end=' ')
else:
print(temp, end='')
print('') # print newline
------------------------------------------------------------------------------------------------------------------------
My expected out is:
90 -> 92 -> 94 -> 95
I keep getting:
90 -> 92 -> 94 -> 95 ->
NOTE: I can't edit the last line "print('') #print newline"
Answer:
Following are the code to this question:
hourly_temperature = [90, 92, 94, 95]#defining a list that holds values
c= 0#defining a variable c
for temp in hourly_temperature:#defining a for loop to count list values
c+= 1#defining c variable to increment the value of c
for index,temp1 in enumerate(str(temp)):#defining for loop for spacing the list value
if index == len(str(temp))-1 and c!= len(hourly_temperature):#defining if block that checks the length of list
print(temp1,'->',end=' ')#print value
elif c == len(hourly_temperature) and index == len(str(temp)) - 1:#defining elif block that checks the length of list
print(temp1, end=' ')#print value
else:#defining else block
print(temp1, end='')#print value
Output:
90 -> 92 -> 94 -> 95
Explanation:
In the above-given code, a list "hourly_temperature" is declared, in which an integer variable c is declared, that holds an integer value that is equal to 0, and two for loop is declared, and in the first loop is used for count list value, and inside the for loop is uses enumerate method to assigns an index for each item and use the conditional statement to check each list value and provide space in each element value.
Question #3
Multiple Choice
Which statement is true?
O A collection is a type of deque.
O A list is a type of deque.
O A deque is a type of list.
O Adeque is a type of collection.
Answer:
D. A deque i a type of collection
Explanation:
I do computer science too ;3
what is one issue when organizing around hierarchical functions
Answer:
The one issue that arises when organizing around hierarchical functions is the dilution of information caused by the absence of direct communication with the overall boss.
Explanation:
This problem is more pronounced when it takes an organization a longer time before initiating hierarchical functions. Employees who have grown used to communicating directly with their bosses will now be distanced from them because direct reports to the overall bosses are no longer permitted. Instead, each functional head is expected to coordinate their group information, have it thoroughly filtered before allowing the overall boss to access it. One advantage is that functional hierarchies eliminate information overflow. Unfortunately, some bosses do not feel comfortable, at first, when their organizations commence hierarchical organization of business functions.
A backup can be installed that costs​ $100. What is the minimum allowable reliability for the backup that would make installing it​ worthwhile? The minimum allowable reliabilit​ = nothing​%
Answer:
0.95
Explanation:
Reliability is a assurance that a machine would have an efficiency of one or close to one.
The minimum allowable reliability R;
(1 - R) x 2000 = 100
Make R the subject of the formula;
R = 1 - (100/ 2000)
R = 1 - 0.05
= 0.95
Learning Target: Students will work on final project.
You have leamed about video game industry and acquired basic skills to make basic
video games in this class so far. It is time to update your resume and cover letter.
Re-visit your assignments from 9/28-9/29 in this class. You can find that at your
submission in google classroom for this class for the dates mentioned. Type your
resume and cover letter using google docs or MS word professionally. First do
research to find a job opening in a real company. Craft your resume and cover letter
as if you are applying for the job listed. List game projects, coding skills etc. that
could benefit you in finding his job.
1. Check-in/Exit Ticket
2. Resume and Cover Letter
Answer:
I don't get this question
Networks and the interconnectivity of media have affected our society in that:
A. information is hard to get and has not been democratized.
B. countries have shifted away from a global economy.
C. ideas and information are shared quickly and easily.
O
D. the quantity of media now loses out to quality.
Ideas and information are shared quickly and easily
Answer:
C. Ideas and information are shared quickly and easily
Explanation:
To prevent long page load times for pages containing images, it is best to use a compressed file format such as JPG, as well as appropriate image dimensions and
resolution.
magnification.
orientation.
colors.
Answer:
The answer to this question is given below in the explanation section.
Explanation:
The given options to this question are:
resolution. magnification. orientation. colors.The correct option to this question is 1. i.e.
Resolution.
The resolution of an image determines how many pixels per inch an image contains. Image having a higher resolution takes long page load times for a page and lower resolution takes less page load time. So, to prevent long page load times for pages containing images, it is best to use compressed file formation as well as appropriate image dimension and resolution.
While other options are not correct because:
Magnification, orientation, and color does not affect the page load time. Page load time for images only affected by the dimension and resolution of the images.
What is the main advantage of using a WYSIWYG (“what you see is what you get”) editor when constructing a website?
Only one programming language is required.
Websites may have more professional construction.
Knowledge of HTML is not required.
Website templates are not necessary.
Answer:
The answer to this question is given below in the explanation section.
Explanation:
The correct answer among the given options to this question is:
Knowledge of HTML is not required.
Because when you are constructing a website using WYSIWYG (“what you see is what you get”) editor, then you don't need the knowledge of HTML. Because, when you use WYSIWYG editor to insert button, table, images, text, paragraph, etc. It will automatically insert HTML code behind the page. For example, you can insert a form and a submit button using drag and drop with the help of WYSIWYG (“what you see is what you get”) editor, for this purpose, you don't need exact knowledge of HTML. WYSIWYG (“what you see is what you get”) automatically inserts the HTML for the form and button on a website page.
While other options are not correct because:
Using the WYSIWYG (“what you see is what you get”) editor, you can use different programming languages in your website, such as VB.net, Asp.Net, C#, Javascript, Bootstrap, etc. It is not necessarily that you may have more professional construction and in WYSIWYG (“what you see is what you get”) website templates are mostly used and modified using WYSIWYG editor.
Answer:
(C):Knowledge of HTML is not required.
Malware is a combination of which two words? A. malevolent and software B. malignant and software C. maladapted and software D. malicious and software Answer: ________
Answer:
D. Malicious and software
what does "route print" do?
Answer:Route is a Windows command that displays and updates the network routing table. These activities will show you how to use the route command to display the local routing table.
Explanation:
In Python, programmers use square brackets and an index range to slice multiple characters from a string.
True
False
Answer:
True
Explanation:
how does a digital computer process data?
as a string of binary digits called bits
as number written in the decimal number system
as a sequence of instructions given by a programmer
as a software program generated by the computer
Answer:
as a string of binary digits called bits
Write a second ConvertToInches() with two double parameters, numFeet and numInches, that returns the total number of inches.
Answer:
Answered in C++
double ConvertToInches(double numFeet, double numInches){
return numFeet*12 + numInches;
}
Explanation:
A foot is equivalent to 12 inches. So, the function converts feet to inches by multiplying the number of feet by 12.
The question is answered in C++
This line defines the method with two parameters
double ConvertToInches(double numFeet, double numInches){
This line converts the input parameters to inches and returns the number of inches
return numFeet*12 + numInches;
}
To convert 9 feet and 12 inches to inches, the main method of the program can be:
int main(){
cout<<ConvertToInches(9,12);
return 0;
}
This above will return 120 because: 9 * 12 + 12 = 120 inches
What are the advantages and disadvantages of using steganography versus symmetric or asymmetric encryption
Explanation:
Steganography is a technique used in securing or hiding sensitive information by encrypting the information in a non-hidden file like a JPEG format. A major advantage of this method is that it reduces the risk of attack or break-in since the data is enclosed in a non-secure file; thereby reducing threats of any hack. One main disadvantage of this method is that the hidden message may become difficult to recover if the source file (non-secure file) used, is edited or deleted.
In symmetric or asymmetric encryption they both employ cryptographic encryption method. While symmetric encryption uses one key to encrypt and decrypt data, asymmetric encryption uses two keys (one for encryption, the other for decryption) of the data. A major advantage of using these methods is that they provide more security. Although while symmetric encryption is faster, asymmetric encryption is slower (eg using separate keys to gain access), a disadvantage.
Advantage:
Because the content is contained throughout a non-secure file, the above strategy decreases the chance of an assault on classified info.Disadvantage:
This approach has the disadvantage that concealed information might be able to retrieve if somehow the documents have been changed or deleted as of a non-secure file.Once again to encrypt as well as decode information, symmetric encryption employs a unique key, but asymmetric encryption utilizes two different keys, something for encryption as well as someone else for decryption.
Advantage:
One such approach is superior to steganography throughout the level of protection.Disadvantage:
Because distinct keys have been needed to get access, such techniques of asymmetric encryption are considerably slower.Thus the approach above is correct.
Learn more about steganography here:
https://brainly.com/question/15187715
A switch is a device that connects multiple computers into a network in which multiple communications links can be in operation simultaneously. True False
Answer:
True
Explanation:
A network switch is also called switching hub or a bridging hub. It is a device that connects multiple computers into a network in which multiple communications links can be in operation simultaneously. It makes use of Mac addresses in the forwarding of the data link layer (layer 2) of the OSI model. Types include managed switches, unmanaged switches, smart switches but to mention a few.
please help add header file
/**
* TODO add header file
*/
public static boolean comp(int[][] b, int z, Random rand) {
int x = findWinningMove(b, z);
if(x != -1) {
dropToken(x, b, z);
return true;
}
x = findWinningMove(b, (z + 1) % 2);
if(x != -1) {
dropToken(x, b, z);
return false;
}
do {
x = rand.nextInt(BOARD_WIDTH);
} while(b[BOARD_HEIGHT - 1][x] != -1);
dropToken(x, b, z);
return false;
}
Answer:
jhgfycgxbhyjuufdxxcgbhjkml;,,,,,,,,,,,,,dfxcg,m .u9cgfbv nmkojihuygfc bvnjmkouhytfgvhbjfjfhngouuhjfcjbhbgfbjghbhjigjkijfbjfjigfijgfg
Explanation:
which two pieces of information must be provided when saving a file for the first time in wordpad
The name and the saving location.
There are many different LAN technologies (Wifi, Ethernet, etc) that can be incompatible with each other in terms of how they exchange data. How is it possible then, that any source host can still send information to any destination host when connected in an internet? Explain the two important components of this process.
Answer:
Explanation:
The two most important parts of this process are simply sending and receiving the data. When a network sends data, the system breaks the data into smaller pieces called Packets. The system then checks if the network that the packets are being sent to exists, if so the packets are sent to that network. When the receiving network's router receives these packets it reconstructs all of the packets received into the final data in the format that the final LAN system can read and sends it to the appropriate device.
You are configuring a firewall to use NAT. In the configuration, you map a private IP address directly to a persistent public IP address. What form of NAT is being used?
A. Registered NAT.B. Static NAT.C. Dynamic NAT.D. Advanced NAT.
Answer:
Option B (Static NAT) would be the correct choice.
Explanation:
Static NAT seems to be a method of NAT methodology used to navigate as well as monitor internet usage from some kind of specific public IP address to something like a private IP address. Everything always allows the provision of web access to technology, repositories including network equipment inside a protected LAN with an unauthorized IP address.Some other decisions made aren't relevant to the situation in question. So the above alternative is indeed the right one.