Answer:
C# and Java
Explanation:
Compiler can be regarded as a program that helps in transforming a source code( source program) to another program knowns as machine code. Some of the programming languages that needs a compiler are C# and Java. The compiler will collect the the set of instructions of the new program that was written using high level language and translate it into machine language.
An employer uses the spreadsheet below to determine the average hourly salary of her four employees. She begins by determining the hourly salary of each person and displaying that in column D. Which formula can she then use to determine the average hourly salary?
=average(D2:D5)
=average(B2:B5)
=average(C2:C5)
=average(B5:D5)
A. =average (D2:D5)
Answer:
The answer is "=average(D2:D5)"
Explanation:
In Excel, the AVERAGE function is used to measures the average number, in the arithmetic average.This method is used as the group of numbers, that determines by using the AVERAGE function. This feature is an AVERAGE, which is used to ignores the logical data, empty columns, or text cell. It is up to 255 specific arguments, that could be handled by AVERAGE, including numbers, numerical values, sets, arrays, or constant.
Answer:
A
Explanation:
The process of changing a variable's data type is called type casting.
True
Or False
(PYTHON) Complete the program to print out nicely formatted football player statistics. Match the following output as closely as possible -- the ordering of players is not important for this example.
2012 quarterback statistics:
Passes completed:
Greg McElroy : 19
Aaron Rodgers : 371
Peyton Manning : 400
Matt Leinart : 16
Passing yards: ...
Touchdowns / Interception ratio:
Greg McElroy : 1.00
Aaron Rodgers : 4.88
Peyton Manning : 3.36
Matt Leinart : 0.00
quarterback_stats = {
'Aaron Rodgers': {'COMP': 371, 'YDS': 4925, 'TD': 39, 'INT': 8},
'Peyton Manning': {'COMP': 400, 'YDS': 4659, 'TD': 37, 'INT': 11},
'Greg McElroy': {'COMP': 19, 'YDS': 214, 'TD': 1, 'INT': 1},
'Matt Leinart': {'COMP': 16, 'YDS': 115, 'TD': 0, 'INT': 1}
}
print('2012 quarterback statistics:')
print(' Passes completed:')
for qb in quarterback_stats:
comp = quarterback_stats[qb]['COMP']
#print(' %?: %?' % (qb, comp)) # Replace conversion specifiers
# Hint: Use the conversion flag '-' to left-justify names
print(' Passing yards:')
for qb in quarterback_stats:
print(' QB: yards')
print(' Touchdown / interception ratio:')
# ...
# Hint: Convert TD/INTs to float before calculating ratio
Answer:
quarterback_stats = {
'Aaron Rodgers': {'COMP': 371, 'YDS': 4925, 'TD': 39, 'INT': 8},
'Peyton Manning': {'COMP': 400, 'YDS': 4659, 'TD': 37, 'INT': 11},
'Greg McElroy': {'COMP': 19, 'YDS': 214, 'TD': 1, 'INT': 1},
'Matt Leinart': {'COMP': 16, 'YDS': 115, 'TD': 0, 'INT': 1}
}
print("2012 quaterback statistics: ")
print("Passes completed: ")
for qb in quaterback_stats.keys():
print(f"{quaterback_stats[qb]} : {quaterback_stats[qb]['COMP']}")
print("Passing yards:")
for qb in quaterback_stats.keys():
print(f"{quaterback_stats[qb]} : {quaterback_stats[qb]['YDS']}")
print("Touchdown / interception ratio")
for qb in quaterback_stats.keys():
if quaterback_stats[qb]['TD'] > 0 and quaterback_stats[qb]['INT'] > 0:
print(f"{quaterback_stats[qb]} : {float(quaterback_stats[qb]['TD']) / float(quaterback_stats[qb]['INT])}")
else:
print(f"{quaterback_stats[qb]} : {0.0}")
Explanation:
The python program gets data from a dictionary called quaterback_stats which holds the data of football players with their names as the keys and a list of records as the value.
The program prints the individual records from the dictionary using a for loop statement on the list of dictionary keys (using the keys() method).
Select the correct answer.
Which task occurs during the development phase of the SDLC?
A.
requirements gathering
OB.
coding
O C.
maintenance
OD. budgeting
Answer:
The correct answer is: Option OB. Coding
Explanation:
Software Development Life Cycle is used to develop software. It is a general collection of steps that have to be followed in development of software.
The development phase comes after the system design phase of SDLC. The coding and programming for software is done in the development stage.
Hence,
The correct answer is: Option OB. Coding
Answer:
coding
Explanation:
Which Microsoft software program is useful for uploading documents to be accessed remotely?
Answer:
Microsoft Remote Desktop
Explanation:
The Microsoft software program that is useful for uploading documents to be accessed remotely is: Microsoft OneDrive.
Cloud computing can be defined as a type of computing that requires shared computing resources such as cloud storage (data storage), servers, computer power, and software over the internet rather than local servers and hard drives. Thus, it offer or avail individuals and businesses a fast, effective and efficient way of providing services to their clients over the internet.
Generally, cloud computing comprises three (3) service models and these are;
Platform as a Service (PaaS).Infrastructure as a Service (IaaS).Software as a Service (SaaS).Microsoft OneDrive can be defined as a software as a service (SaaS) developed by Microsoft Inc. to be used as a cloud (internet-based) storage service and software application synchronization service. It was officially launched on the 7th of August, 2007 by Microsoft.
Basically, Microsoft OneDrive typically offer to its registered customers or end users a free amount of storage space (at least 5 giga-bytes) that can be used to store various type of documents, remotely share digital files, and synchronize multiple files across different mobile and computer-based platforms.
In conclusion, with Microsoft OneDrive you can upload your documents to the cloud and make it available to be accessed remotely by other users.
For more information visit: https://brainly.com/question/7470854
Which of these type parameters is used for a generic class to returnrand accept any type of object?
Select one:
a. T
b. N
C.V
d. E
e. K
Answer:
To accept and return any type of object TWrite a program called FarewellGoodBye that prints the following lyrics. Use static methods to show structure and eliminate redundancy in your solution. Farewell, goodbye, au revoir, good night! It's time, to go, and I'll be out of sight! Farewell, goodbye, au revoir, take care! I'll say, goodbye, that's neither here nor there! Farewell, goodbye, au revoir, see you later! I hope, you think, I'm a lover, not a hater!
Answer:
Please find the attachment file of the code.
Explanation:
In this code, a static method "lyrics" is declared, that defines three-string variable "a,b, and c ", that holds some values, which is defined in the question and use print method to print other values and prints "a,b, and c" string value inside the main method the static method "lyrics" is called that print the above values.
Can a host have more than one IPv4 address? Explain.
Answer:
Yes.
Explanation:
This is referred to as multihoming. Typically you use this when you want to connect to multiple networks. Also when you use VPNs, you have a separate IP address per VPN.
A slot machine is a gambling device that the user inserts money into and then pulls a lever (or presses a button). The slot machine then displays a set of random images. If two or more of the images match, the user wins an amount of money that the slot machine dispenses back to the user. Design a program that simulates a slot machine. When the program runs, it should do the following: Ask the user to enter the amount of money he or she wants to insert into the slot machine. Instead of displaying images, the program will randomly select a word from the following list: Cherries, Oranges, Plums, Bells, Melons, Bars The program will select and display a word from this list three times. If none of the randomly selected words match, the program will inform the user that he or she has won $0. If two of the words match, the program will inform the user he or she has won two times the amount entered. If three of the words match, the program will inform the user that he or she has won three times the amount entered. The program will ask whether the user wants to play again. If so, these steps are repeated. If not, the program displays the total amount of money entered into the slot machine and the total amount won.
Answer:
import random
is_cont = 'y'
amount = float(input("Enter amount: "))
total = 0.0
slot = ['Cherries', 'Oranges', 'Plums', 'Bells', 'Melons', 'Bars']
while is_cont == 'y':
hold = []
for i in range(3):
ent = random.choice(slot)
print(ent)
hold.append(ent)
if hold.count(hold[0]) == 3 or hold.count(hold[1]) == 3 or hold.count(hold[2]) == 3:
print(f"{3 * amount}")
total += 3 * amount
elif hold.count(hold[0]) == 2 or hold.count(hold[1]) == 2 or hold.count(hold[2]) == 2:
print(f"{2 * amount}")
total += 2 * amount
else:
print("$ 0")
is_cont = input("Try again? y/ n: ")
Explanation:
The python program is in a constant loop so long as the 'is_cont' variable has a value of 'y'. The program implements a slot machine as it gets an amount of money from the player and randomly selects an item from the slot list variable three times.
If all three selections match, the player gets three times the amount paid and if two items match, then the player gets twice the pay but gets nothing if all three items are different.
An internet download speed is 4.2 MB/S (constant). How long will it take to download a 30 GB file?
And with 900 KB/S?
Answer:
(a) [tex]Time= 119.05 \ min[/tex]
(b) [tex]Time= 9.26\ hr[/tex]
Explanation:
Given
[tex]File = 30GB[/tex]
Required
Download time
Solving (a): When Speed =4.2Mb/s
Speed is calculated as:
[tex]Speed = \frac{File\ Size}{Time}[/tex]
Make Time the subject:
[tex]Time= \frac{File\ Size}{Speed }[/tex]
Substitute values for File Size and Speed
[tex]Time= \frac{30Gb}{4.2Mb/s}[/tex]
Convert Gb to Mb
[tex]Time= \frac{30*1000Mb}{4.2Mb/s}[/tex]
[tex]Time= \frac{30000s}{4.2}[/tex]
Convert to minutes
[tex]Time= \frac{30000}{4.2*60}\ min[/tex]
[tex]Time= \frac{30000}{252}\ min[/tex]
[tex]Time= 119.05 \ min[/tex]
When converted, it is approximately 2 hours
Solving (a): When Speed =900Kb/s
[tex]Time= \frac{File\ Size}{Speed }[/tex]
Substitute values for File Size and Speed
[tex]Time= \frac{30Gb}{900Kb/s}[/tex]
Convert Gb to Kb
[tex]Time= \frac{30*1000000Kb}{900Kb/s}[/tex]
[tex]Time= \frac{30*1000000s}{900}[/tex]
[tex]Time= \frac{1000000s}{30}[/tex]
[tex]Time= \frac{100000}{3}s[/tex]
Convert to hours
[tex]Time= \frac{100000}{3*3600}hr[/tex]
[tex]Time= \frac{1000}{3*36}hr[/tex]
[tex]Time= \frac{1000}{108}hr[/tex]
[tex]Time= 9.26\ hr[/tex]
Answer:
(a)
(b)
Explanation:
Given
Required
Download time
Solving (a): When Speed =4.2Mb/s
Speed is calculated as:
Make Time the subject:
Substitute values for File Size and Speed
Convert Gb to Mb
Convert to minutes
When converted, it is approximately 2 hours
Solving (a): When Speed =900Kb/s
Substitute values for File Size and Speed
Convert Gb to Kb
Convert to hours
write a program to accept a name and roll number of 5 student using structure in C
Answer:
This C program is to store and display the information of a student using structure i.e. to store and display the roll number,name,age and fees of a student using structure.
Basically one should know how to write the syntax of a structure and the rest is just implementation of the programs done so far.
If you yet need a dry run of the program or any other query, then kindly leave a comment in the comment box or mail me, I would be more than happy to help you.
#include <stdio.h>
#include <string.h>
struct student {
char name[50];
int roll;
};
int main() {
struct student student1;
strcpy(student1.name, "Chris Hansen");
student1.roll = 38;
printf("Name: %s\nRoll number: %d\n", student1.name, student1.roll);
struct student student2;
strcpy(student2.name, "Edip Yuksel");
student2.roll = 19;
printf("Name: %s\nRoll number: %d\n", student2.name, student2.roll);
struct student student3;
strcpy(student3.name, "Skeeter Jean");
student3.roll = 57;
printf("Name: %s\nRoll number: %d\n", student3.name, student3.roll);
struct student student4;
strcpy(student4.name, "Sinbad Badr");
student4.roll = 114;
printf("Name: %s\nRoll number: %d\n", student4.name, student4.roll);
struct student student5;
strcpy(student5.name, "Titus Alexius");
student5.roll = 76;
printf("Name: %s\nRoll number: %d\n", student5.name, student5.roll);
return 0;
}
DISPLAYName: Chris Hansen
Roll number: 38
Name: Edip Yuksel
Roll number: 19
Name: Skeeter Jean
Roll number: 57
Name: Sinbad Badr
Roll number: 114
Name: Titus Alexius
Roll number: 76
EXPLANATIONUse string.h to access string functions for names.
Create a struct outside of the main on student name and roll number.
strcpy works for strings.
Create for 1 student and copy and paste for the others.
Display the name and roll number for each student.
Popular operating systems include _______. Select all that apply. A. Chrome OS B. Safari C. macOS D. Microsoft Windows
Answer:
The correct answers are C and D. Popular operating systems include macOS and Microsoft Windows .
Explanation:
An operating system is a program (usually a set of cooperating programs) that is loaded into memory after a computer is started and controls the hardware. It acts as a medium between the hardware and the computer user, with the aim of allowing the user to run programs, being responsible for the start and end of other programs, the control of hardware and the data input. Common operating systems are Microsoft Windows, Apple macOS and Linux.
b. List any four major drawbacks of the first generation computer
Answer:
Terribly low storage space, limited to mathematics/computing, required entire rooms to use, and low information yield for hours of processing.
Explanation:
Write a method doubleUp that doubles the size of a list of integers by doubling-up each element in the list. Assume there's enough space in the array to double the size. Suppose a list stores the values [1, 3, 2, 7]. After calling list.doubleUp(), the list should store the values [1, 1, 3, 3, 2, 2, 7, 7].
Answer:
def double_up(self, mylist):
doubled = list()
for item in mylist:
for i in range(2):
doubled.append(item)
return doubled
Explanation:
The program method double_up gets the list argument, iterates over the list and double of each item is appended to a new list called doubled.
Methods are functions defined in classes. A class is a blueprint of a data structure. Each instance of the same class holds the same attributes and features.
what are pixels?
A: The colors In an image
B: The overall size of the image
C: The overall file size of the image
D: The smallest unit on the image that can be controlled
Answer:
D: The smallest unit on the image that can be controlled
Sites on the surface web are _____.
A. freely available to all users
B. home pages only
C. older pages that have not been updated
D. member-only sites
It should be noted that Sites on the surface web are A. freely available to all users.
What is Surface Web?The Surface Web can be regarded as a portion of the World Wide Web which is accessible for general public and it can be searched with standard web search engines.
Therefore, option A is correct.
Learn more about Surface Web at:
https://brainly.com/question/4460083
Conditional formatting allows spreadsheet users to
turn cell protection functions on and off.
calculate the average number of people at sporting events.
highlight test scores of below 90% in a grade book.
add additional formatting options to a menu.
It C. highlight test scores of below 90% in a grade book.
Answer:
CExplanation:
highlight test scores of below 90% in a grade book.
Answer:
C. highlight test scores of below 90% in a grade book.
Explanation:
:)
To display on a tablet, a photograph needs to be converted into which of the following?
a flowchart
0s and 1s
input
variables
Answer:
0s and 1s
It needs to be converted to bits
Answer:
The guy above me is right, give them brainiest please :)
Explanation:
Did the quiz on Edge. have a good day~
On what menu in Microsoft Word can you locate the Macro feature?
Group of answer choices
Review
Edit
Home
View
Answer:
View
Explanation:
Microsoft Word refers to a word processing software application or program developed by Microsoft Inc. to enable its users type, format and save text-based documents.
In Microsoft Word 2019, the users are availed with the ability to edit the word document in the following view type;
I. View Mode
II. Print Mode
III. Drift Layout
The Microsoft Word developers has made it easy for their users to automate the tasks used frequently through the creation and execution of macros.
Basically, macros comprises of commands and instructions which may be grouped together as a single command to automatically execute a task. You can locate the Macro feature in the View tab of Microsoft Word.
What is the document that provides basic guidance and regulatory requirements for derivative classification
for DoD personnel?
Answer: DoDM 5200.01, DoD Information Security Program
Explanation:
The document that provides basic guidance and regulatory requirements for derivative classification
for DoD personnel is referred to as the DoDM 5200.01, DoD Information Security Program.
The purpose of this is to help in the promotion of an effective way that can be used in the classification, protection, and application of applicable instructions.
It should be noted that the document that provides basic guidance and regulatory requirements for derivative classification for DoD personnel are;
DoDM 5200.01 DoD Information Security ProgramAccording to the question, we are to discuss document that provides basic guidance as well as regulatory requirements for derivative classification.
As a result of this, we can see that the best documents for this is DoDM 5200.01, this is because, provides basic guidance and regulatory requirements as regards a DoD personnel.
Therefore, DoDM 5200.01 serves as document that provides basic guidance and regulatory requirements for derivative classification.
Learn more about DoD Information Security Program at;
https://brainly.com/question/13171394
A large multinational client has requested a design for a multi-region database. The master database will be in the EU (Frankfurt) region and databases will be located in 4 other regions to service local read traffic. The database should be a managed service including the replication. The solution should be cost-effective and secure. Which AWS service can deliver these requirements
Answer:
RDS with cross-region Read Replicas
Explanation:
The Amazon Web Service, popularly known as the AWS is a subsidiary company of the Amazon.com which provides various cloud computing platforms on demand and Application Programming Interface or the API to other companies, governments and individuals.
The Amazon web services provides an effective RDS. RDS stands for Relational Database Service. The Amazon RDS is used to set up as well as operate and scale relational database in cloud. It provides resizable capacity and cost effective database.
In the context, Amazon Wen Services can deliver RDS with cross regional Read Replicas.