Answer:
You have syntax errors, but I don't know if it happened when you posted this question, nevertheless
Explanation:
Correct code:
WaitlistEntry createWL( int iPriority, int iStudentID ) { // Opening Brace
WaitlistEntry w; // Should be ; not ,
w.iPriority = iPriority; // Assign Missing
w.iStudentID = iStudentID; // Assign Missing
return w;
} // Closing Brace
// Also note: iStudentID this actually has an 'l' which is LD. Not ID, this is why I assume these errors happened when posting the question.
Name 4 components of a components system
Which of these skills are used in game design?
Writing, Project Management, Drawing and artistic visualization, all of the above
Answer:
I think the answer is Writing but am not sure
which benefit does the cloud provide to star-up companies without access to large funding?
Explanation:
Start-up companies can store, manage, process data and use programs through a web-based interface – something that greatly reduces costs. Data stored in the cloud can be accessed from anywhere through various devices with web connectivity, which is an advantage for small companies that don't have a huge IT budget.
Cloud provides storage access and management for files and information using a the cloud computing provider. This could help reduce the cost expended on physical content storage devices.
The cost of purchasing storage devices to habor information and data may be daunting for new startups with little capital. The cloud computing framework is a cheaper alternative, yet provides easier accessibility at all times.Hence, the cloud could in the cost expended on physical storage.
Learn more : https://brainly.com/question/22841107
Calculate The Average of Grades Instructions:
Please read the following problem carefully. You will then logon on to https://www.draw.io/to create a professional diagram. You will put all titles, labels, and save your work using the information below. Please follow the directions:
Destini would like to get a better understanding of her grades in all of her college courses before Spring Break. Instead of using a calculator and paper to calculate her grade, she decided to design a program. She will design a program that will ask her to enter her course name and the number of grades in her grade book. The program will then Read the number of Grades based on what was entered by her, Add up all the Grades, Calculate the Average, and Display Course Name and the Average to Screen. It is important to consider that the number of grades will be different for each course. Using Repetition Control, please design this program.
1. Please Create Flowchart using Draw.10 and Simple Flowchart symbols only (Draw.IO)
2. Pseudocode.
Your unique Flowchart must have the following (See Example Here):
A. Name, Date, and class Name [Top Left of Flowchart)
B. A Title of the Flowchart in Bold [Centered at the top of your flowchart)
C. A Brief Summary of your Flowchart (2 to 3 short sentences describing your flowchart) [Left of Flowchart]
Answer:
The pseudocode is as follows:
Input coursename, numgrades
count = 1; totalgrades = 0
while count <= numgrades:
input grade
totalgrade+=grade
count++
average = totalgrade/count
print(coursename)
print(average)
Explanation:
The solution is as follows:
(1) See attachment for flowchart
(2) See answer section for pseudocode
Explanation
Input coursename and number of grades
Input coursename, numgrades
Initialize count of grades input by the user to 1 and the sum of all grades to 0
count = 1; totalgrades = 0
This loop is repeated while count of grades input by the user is less than or equal to the numgrades
while count <= numgrades:
Input grade
input grade
Add grades
totalgrade+=grade
Increase count by 1
count++
End of loop
Calculate average
average = totalgrade/count
Print coursename
print(coursename)
Print average
print(average)
C. Summary of the flowchart
The flowchart gets coursename and the number of grades from the user. Then it gets the score of each grade, add them up t calculate the average of grades.
Lastly, the course name and the average grades is printed
jo.in Goo.gle meet the code/rhk-rvet-tdi
Answer:
nah
Explanation:
cuz ion wanna
HLOOKUP is used for Horizontal Data look ups while VLOOKUP is for Vertical Data look ups
Select one:
True
False
Answer:
True
Explanation:
Both HLOOKUP and VLOOKUP are excel functions used for searching through tables for a specified lookup value to either get an exact or approximate match. The VLOOK and HLOOKUP functions have identical syntax which only differs with the HLOOKUP requiring the row index number to search through the rows while, VLOOKUP requires the column index number to search through the columns. Other than this difference, the other syntax values are the same.
VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
HLOOKUP(lookup_value, table_array, row_index_num, [range_lookup])
Which two of the following are conditions of AI programming that enable robots to either accept or reject commands from humans?
Group of answer choices
equality principle
knowledge
semantic manipulation
enhanced circuitry
capacity
what is this....... Iam booking train to patna.
8. What's the output of this code?
1
def sum(x, y):
return(x+y)
print(sum (sum(1,2), sum(3,4)))
Answer:
10
Explanation:
[tex]sum(1,2) = 3\\sum(3,4) = 7\\sum(3,7) = 10\\[/tex]
Basically, sum((1+2) + (3+4)) = sum(3,7) = (3+7) = 10
Which of these are examples of a bug?
A. Feedback telling you the game is boring. B. Players can get to the river, but nothing they click gets them over the river. C. The game crashes during game play. D. B & C
The keyboard shortcut to enter the current date in a field is
Ctrl+semicolon (;)
Ctrl+ampersand (&)
Ctrl+asterisk (*)
Spacebar
Answer:
oh cool I'm gonna try that
You have a project that requires you to work in a team setting. You know of a developer who has the credentials you
need, works well in a team, and does not need supervision to get the job done. The problem is that the developer is not
within your geographic location. One solution is to allow the developer to blank
full-time.
Answer:
work remotely
Explanation:
The best solution would be to allow the developer to work remotely full-time. This means that they would be working from home all the time and would most likely communicate with the rest of the team via other means. Usually, unimportant communication would be done through e-mail while important issues and team meetings would be done through video conference. This will allow you to hire this developer and add him/her to the team without having to worry about any issues arising due to transportation.
A sql-6-5.sql file has been opened for you. Write each of the following tasks as a SQL statement in a new line (remember that you can source the file to compare the output reference): Use the e_store database Select the total stock of all products in the products table. Alias the column name as total_stock. The resulting table should look like this:
Answer:
The query is as follows:
select sum(stock) as total_stock from products
Explanation:
Required
Return total stock using the alias total_stock from the product table.
The explanation of the query is as follows:
select ----> This implies that data is to be selected from the table
sum(stock) ----> This adds up entries in stock column
as total_stock ---> This represents the alias used for sum(stock)column where
from products ----> The table being queried
Take for instance, the content of the table is:
SN Product Stock
1 Apple 5
2 Orange 3
3 Banana 8
The query will return the following table:
total_stock
16
10.11 LAB: Pet information (derived classes) The base class Pet has private data members petName, and petAge. The derived class Dog extends the Pet class and includes a private data member for dogBreed. Complete main() to: create a generic pet and print information using PrintInfo(). create a Dog pet, use PrintInfo() to print information, and add a statement to print the dog's breed using the GetBreed() function.
Answer:
Answered below.
Explanation:
//Program in Java
Class Test{
public static void main (String[] args){
//create a pet object
Pet pet = new Pet();
//call pet object's printInfo method
pet.printInfo();
//create a new Dog object
Dog dog = new Dog();
//dog can access the printInfo method of the Pet class because it derives from it
dog.printInfo();
//dog can also call it's private method.
dog.getBreed();
}
}
Consider the following incomplete method. Method findNext is intended to return the index of the first occurrence of the value val beyond the position start in array arr. I returns index of first occurrence of val in arr /! after position start; // returns arr.length if val is not found public int findNext (int[] arr, int val, int start) int pos = start + 1; while condition '/ ) pos++ return pos; For example, consider the following code segment. int [ ] arr {11, 22, 100, 33, 100, 11, 44, 100); System.out.println(findNext (arr, 100, 2)) The execution of the code segment should result in the value 4 being printed Which of the following expressions could be used to replace /* condition */ so that findNext will work as intended?
(A) (posarr.length) &&(arr [pos]- val)
(B) (arr [pos] != val) && (pos < arr. Îength)
(C) (pos
(D) (arr [pos} == val) && (pos < arr. length)
(E) (pos
Answer:
B)
Explanation:
The while loop runs as long as two conditions are satisfied, as indicated by the && logical operator.
The first condition- arr[pos] != val
checks to see if the value in the array index, pos, is equal to the given value and while it is not equal to it, the second condition is checked.
The second condition(pos < are.length), checks to see if the index(pos) is less than the length of the array. If both conditions are true, the program execution enters the while loop.
The while loop is only terminated once arr[pos] == Val or pos == arr.length.
You are setting up a small network. The customer has decided to change his internet service provider (ISP) to EtherSpeed. The ISP has installed a connection to both RJ45 jacks on the wall plate. You are responsible for selecting the correct router to connect the network to the internet. You want to use the fastest connection speed available while providing for security for both the Home-PC and Home-PC2 computers.
Your task is to complete the following:
⢠Use the appropriate network components to connect the two computers to the new ISP.
⢠Place the Ethernet router with firewall capabilities on the Workspace.
⢠Use the existing Cat5e Ethernet cables to connect the computers to the router's integrated Ethernet LAN ports.
⢠Use the AC to DC power adapter to plug in the device.
⢠Use the Network and Sharing Center on both computers to confirm that the computers are properly connected to the network and internet.
Home pc1 becouse it is the right one
Create a map using the Java map collection. The map should have 4 entries representing students. Each entry should have a unique student ID for the key and a student name for the element value. The map content can be coded in directly, you do not have to allow a user to enter the map data. Your program will display both the key and the value of each element.
Answer:
In Java:
import java.util.*;
public class Main{
public static void main(String[] args) {
Map<String, String> students = new HashMap<>();
students.put("STUD1", "Student 1 Name");
students.put("STUD2", "Student 2 Name");
students.put("STUD3", "Student 3 Name");
students.put("STUD4", "Student 4 Name");
for(Map.Entry m:students.entrySet()){
System.out.println(m.getKey()+" - "+m.getValue()); }
}}
Explanation:
This creates the map named students
Map<String, String> students = new HashMap<>();
The next four lines populates the map with the ID and name of the 4 students
students.put("STUD1", "Student 1 Name");
students.put("STUD2", "Student 2 Name");
students.put("STUD3", "Student 3 Name");
students.put("STUD4", "Student 4 Name");
This iterates through the map
for(Map.Entry m:students.entrySet()){
This prints the details of each student
System.out.println(m.getKey()+" - "+m.getValue()); }
Summary
In this lab, you use what you have learned about searching an array to find an exact match to complete a partially prewritten C++ program. The program uses an array that contains valid names for 10 cities in Michigan. You ask the user to enter a city name; your program then searches the array for that city name. If it is not found, the program should print a message that informs the user the city name is not found in the list of valid cities in Michigan.
The file provided for this lab includes the input statements and the necessary variable declarations. You need to use a loop to examine all the items in the array and test for a match. You also need to set a flag if there is a match and then test the flag variable to determine if you should print the the Not a city in Michigan.message. Comments in the code tell you where to write your statements. You can use the previous Mail Order program as a guide.
Instructions
Ensure the provided code file named MichiganCities.cppis open.
Study the prewritten code to make sure you understand it.
Write a loop statement that examines the names of cities stored in the array.
Write code that tests for a match.
Write code that, when appropriate, prints the message Not a city in Michigan..
Execute the program by clicking the Run button at the bottom of the screen. Use the following as input:
Chicago
Brooklyn
Watervliet
Acme
// MichiganCities.cpp - This program prints a message for invalid cities in Michigan.
// Input: Interactive
// Output: Error message or nothing
#include
#include
using namespace std;
int main()
{
// Declare variables
string inCity; // name of city to look up in array
const int NUM_CITIES = 10;
// Initialized array of cities
string citiesInMichigan[] = {"Acme", "Albion", "Detroit", "Watervliet", "Coloma", "Saginaw", "Richland", "Glenn", "Midland", "Brooklyn"};
bool foundIt = false; // Flag variable
int x; // Loop control variable
// Get user input
cout << "Enter name of city: ";
cin >> inCity;
// Write your loop here
// Write your test statement here to see if there is
// a match. Set the flag to true if city is found.
// Test to see if city was not found to determine if
// "Not a city in Michigan" message should be printed.
return 0;
} // End of main()
Answer:
Replace the comments with:
for(x = 0; x < NUM_CITIES; x++){
if(inCity == citiesInMichigan[x]){ foundIt = true;}
}
if(foundIt){ cout<<"Exists";}
else{cout<<"Does not exists";}
Explanation:
This iterates through the cities
[tex]for(x = 0; x < NUM\_CITIES; x++)\{[/tex]
This checks if current city in the array matches the city input by the user
[tex]if(inCity == citie sIn Michigan[x])\{[/tex] foundIt = true; If yes, foundIt is set to true}
}
If foundIt is true, print "Exists"
if(foundIt){ cout<<"Exists";}
If foundIt is false, print "Does not Exists"
else{cout<<"Does not exists";}
See attachment for complete program
what The computer needs both
and
to
function properly?
Answer:
It needs power in order to function
Explanation:
Describe a problem you’ve solved or a problem you’d like to solve. It can be an intellectual challenge, a research query, an ethical dilemma — anything of personal importance, no matter the scale. Explain its significance to you and what steps you took or could be taken to identify a solution.
Answer:
Explanation:
I run an online e-commerce store and lately its been very difficult keeping track of customer detail, incoming orders, keyword generation etc. One solution that I thought about would be an application that controls all of that for me. In order to accomplish this I would first need to design and create a GUI that contains all of the necessary buttons and displays for the information. Then I would need to code a webscraper using Python to grab all of the data from e-commerce store as soon as it becomes available, organize it, and display it within the GUI.
An integrated circuit RAM chip has a capacity of 512 words of 8 bits each where the words are organized using a one-dimensional layout.a) How many address lines are there on the chip?b) How many such chips would be needed to construct a 4Kx16 memory?c) How many address and data lines needed for a 4Kx16 memory?#addresss lines = #data lines =
Answer:
A. 9
B. 16
C. Number of addresses = 12 number of data lines = 16
Explanation:
The capacity of this chip is 512 x 8
That is 512 words and these words have 8 bits
A. The number of the address lines would be
log2(512) = 2⁹
So the answer is 9
B. The total number of chips required
= 512 x 8 = 4096
(4096 x 2)/ 512 = 16
C. Number of address = log4092 = 2¹²
= 12
The number of data lines = 8x2 = 16
Thank you!
Suppose a byte-addressable computer using set-associative cache has 2 16 bytes of main memory and a cache size of 32 blocks and each cache block contains 8 bytes. a) If this cache is 2-way set associative, what is the format of a memory address as seen by the cache; that is, what are the size of the tag, set, and offset fields
Answer:
Following are the responses to these question:
Explanation:
The cache size is 2n words whenever the address bit number is n then So, because cache size is 216 words, its number of address bits required for that cache is 16 because the recollection is relational 2, there is 2 type for each set. Its cache has 32 blocks, so overall sets are as follows:
[tex]\text{Total Number of sets raluired}= \frac{\text{Number of blocks}}{Associativity}[/tex]
[tex]=\frac{32}{2}\\\\ =16\\\\= 2^4 \ sets[/tex]
The set bits required also are 4. Therefore.
Every other block has 8 words, 23 words, so the field of the word requires 3 bits.
For both the tag field, the remaining portion bits are essential. The bytes in the tag field are calculated as follows:
Bits number in the field tag =Address Bits Total number-Set bits number number-Number of bits of words
=16-4-3
= 9 bit
The number of bits inside the individual fields is therefore as follows:
Tag field: 8 bits Tag field
Fieldset: 4 bits
Field Word:3 bits
ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP
Answer:
10.b
11.c
12.c
13.a
14.d
15.b
16.c
Explanation:
please brainleist please ♨️❤☺️☻
how to make windiws 10 to wundows 21?
Answer:
You multiply it.
. Which responsibility belongs to the marketing function?
Answer:
The marketing functions involves various responsibilities of the business organization, these functions are responsible for the growth of company. The key roles and responsibilities of marketing functions are market research, finance, product development, communication, distribution, planning, promotion, selling etc.
Log onto the Internet and use a search engine to find three Web sites that can be models for the new site. (At least one should sell sporting goods.) For each site you selected, list the URLs in your document. Tell why you chose them. Navigate to the three sites you choose and take notes about at least three things you like and don’t like about the sites.
Please see the following file for your required answer, thank you.
how can you hack on a cumputer witch one chrome hp
Answer:
http://www.hackshop.org/levels/basic-arduino/hack-the-chromebook
Explanation:
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
As of Spring 2020, in otder to get into the CS major, you must have a 3.0 GPA or better in cs120, cs210, and cs245. In this problem, you should write one function named get_gpa, which will calculate this GPA. This function should have one parameter, which will be a dictionary of grades in computer science courses. You can assume that the dictionary will always have the keys 'cs120', 'cs210', and 'cs245', but it also might contain some names of other courses too. The values associated with each key will be a float representeing the GPA-style grade for that class. For instance, the parameter dictionary might look like: {'cs120':4.0 'cs245':3.0, 'cs210':2.0}. Some examples:
get_gpa({'cs110': 4.0, 'cs245':3.0, 'cs335':4.0, 'cs120':3.0, 'cs210':3.0}) should return 3.0.
get_gpa({'cs110': 4.0, 'cs120':3.0, 'cs245':2.0, 'cs210':1.0}) should return 2.0.
get_gpa({'cs245':4.0, 'cs120':3.0, 'cs245':2.0}) should return 3.0.
Make sure to include only the one function in your file.
Answer:
The function is as follows:
def get_gpa(mydict):
gpa = 0
kount = 0
for course_code, gp in mydict.items():
if course_code == 'cs120' or course_code == 'cs210' or course_code == 'cs245':
gpa += float(gp)
kount+=1
return (gpa/kount)
Explanation:
This defines the function
def get_gpa(mydict):
This initializes gpa to 0
gpa = 0
This initializes kount to 0
kount = 0
This iterates through the courses
for course_code, gp in mydict.items():
If course code is cs120 or cs210 or cs245
if course_code == 'cs120' or course_code == 'cs210' or course_code == 'cs245':
The gpa is added
gpa += float(gp)
And the number of courses is increased by 1
kount+=1
This returns the gpa
return (gpa/kount)
HW3: Write a program in C language by using if statement for a lift control
system, for your information
nation the maximum weight is 240kg and for five floors.
Mathilda’s computer has been running slow the past few months. She observed that the system unit becomes too hot. What does she need to do to fix this issue?
A.
She needs to make sure that the keyboard and mouse are properly connected.
B.
She needs to install antivirus software.
C.
She needs to delete unwanted files from her hard disk.
D.
She needs to clean the dust from the system unit fan.
Answer:
The answer is D
Explanation: