Answer:
I'm sorry but I cant answer if it's only one product,it should be two..it's like different to what,or similar to what
lower cabinet is suitable for storing and stocking pots and pans true or false
Binary is a base-2 number system instead of the decimal (base-10) system we are familiar with. Write a recursive function PrintInBinary(int num) that prints the binary representation for a given integer. For example, calling PrintInBinary(5) would print 101. Your function may assume the integer parameter is non-negative. The recursive insight for this problem is to realize you can identify the least significant binary digit by using the modulus operator with value 2. For example, given the integer 35, mod by 2 tells you that the last binary digit must be 1 (i.e. this number is odd), and division by 2 gives you the remaining portion of the integer (17). What 's the right way to handle the remaining portion
Answer:
In C++:
int PrintInBinary(int num){
if (num == 0)
return 0;
else
return (num % 2 + 10 * PrintInBinary(num / 2));
}
Explanation:
This defines the PrintInBinary function
int PrintInBinary(int num){
This returns 0 is num is 0 or num has been reduced to 0
if (num == 0)
return 0;
If otherwise, see below for further explanation
else
return (num % 2 + 10 * PrintInBinary(num / 2));
}
----------------------------------------------------------------------------------------
num % 2 + 10 * PrintInBinary(num / 2)
The above can be split into:
num % 2 and + 10 * PrintInBinary(num / 2)
Assume num is 35.
num % 2 = 1
10 * PrintInBinary(num / 2) => 10 * PrintInBinary(17)
17 will be passed to the function (recursively).
This process will continue until num is 0
Can someone tell me how to get rid of the the orange with blue and orange on the status bar
Please and thank you
Picture above
Answer:
Explanation:
i'm not sure how tho
where are all of your documents saved?
Answer:
create a my document folder so you can easily find it
State and give reason, if the following variables are valid/invalid:
Variables defined in Python
Valid/Invalid
Reason
daysInYear
4numberFiles
Combination-month_game
Suncity.school sec54
Answer:
See Explanation
Explanation:
Variable: daysInYear
Valid/Invalid: Valid
Reason: It begins with a letter; it is not a keyword, and it does not contain a hyphen
Variable: 4numberFiles
Valid/Invalid: Invalid
Reason: It begins with a number
Variable: Combination-month_game
Valid/Invalid: Invalid
Reason: It contains a hyphen
Variable: Suncity.school sec54
Valid/Invalid: Invalid
Reason: It contains a dot and it contains space
This component of the CPU is responsible for fetching the data, converting it, and de-converting
A) ALU
B) RAM
C) Control Unit
D) None of the above
In CPU there are two components name ALU and CU(Control unit) which ALU's function is to solve mathematic sequence and CU fuction is to vetch data to memory and manage commands and input & output.
#See pic for how the data proceed
1 #include
2 using namespace std;
3
4 int main() {
5 int userNum;
6 int userNumSquared;
7
8 cin >> userNum;
9
10 userNumSquared = userNum + userNum; // Bug here; fix it
11
12 cout << userNumSquared; // Output formatting issue |
13
14 return 0;
15 }
16
While the zyLab platform can be used without training, a bit of training may help some students avoid common issues.
The assignment is to get an integer from input, and output that integer squared, ending with newline. (Note: This assignment is configured to have students programming directly in the zyBook. Instructors may instead require students to upload a file). Below is a program that's been nearly completed for you.
Click "Run program". The output is wrong. Sometimes a program lacking input will produce wrong output (as in this case), or no output. Remember to always pre-enter needed input.
Type 2 in the input box, then click "Run program", and note the output is 4.
Type 3 in the input box instead, run, and note the output is 6.
When students are done developing their program, they can submit the program for automated grading.
Click the "Submit mode" tab
Click "Submit for grading".
The first test case failed (as did all test cases, but focus on the first test case first). The highlighted arrow symbol means an ending newline was expected but is missing from your program's output.
Matching output exactly, even whitespace, is often required. Change the program to output an ending newline.
Click on "Develop mode", and change the output statement to output a newline: cout << userNumSquared << endl;. Type 2 in the input box and run.
Click on "Submit mode", click "Submit for grading", and observe that now the first test case passes and 1 point was earned.
The last two test cases failed, due to a bug, yielding only 1 of 3 possible points. Fix that bug.
Click on "Develop mode", change the program to use * rather than +, and try running with input 2 (output is 4) and 3 (output is now 9, not 6 as before).
Click on "Submit mode" again, and click "Submit for grading". Observe that all test cases are passed, and you've earned 3 of 3 points.
Answer:
Change line 10 to:
userNumSquared = userNum * userNum;
Change line 11 to:
cout << userNumSquared<<endl;
Explanation:
Though the question is a bit lengthy but the requirements are not clearly stated. However, I'm able to pick up the following points.
Print the square of the inputted numberPrint the squared number with a new lineTo do this, we simply modify the affected lines which are lines 10 and 11.
The plus sign on line 10 will be modified to multiplication
i.e.
userNumSquared = userNum * userNum;
And line 11 will be modified to:
cout << userNumSquared<<endl;
Every other line of the program is okay and do not need to be modified
What are the inputs and outputs of the app "Spotify"?
Hey the I/O for Spotify would be. for I or input keyboard and mouse.
and for O or output the sound files being sent from the server to the pc
Hope this helps.
-Toby aka scav
Answer:
Input is for mics and other tools, output is your audio interface, speakers, headphones, so on. 3. At the top you'll find general system-wide settings, below you find dedicated settings for each open app. You'll need to have Spotify open to see it there.
Explanation:
Have you ever tried using such a camera?
Answer: yeah i mean i use my canon camera
Explanation:
who is the father of computer?
1.Charles Babbage 2.James Waat
Answer:
its 1 Charles babbage
Explanation:
shjdjdjdjdjdj
Answer:
Si Charles Babbage,
Explanation:
FRS ay isang Ingles na matematiko, pilosopo, imbentor, at inhinyerong mekanikal na nagpanimula ng konsepto ng isang naipoprogramang kompyuter. Nakatanghal ang mga bahagi ng kanyang hindi pa buong mga mekanismo sa Museo ng Agham sa London.
What are the three types of networks?
A) Internet, PowerPoint, Excel
B) Internet, LAD, WAN
C) Internet, WAN, LAN
D) None of the above
Answer:
Local Area Network (LAN)
Metropolitan Area Network (MAN)
Wide area network (WAN)
(So C, I'm pretty sure.)
Answer:
LAN,MAN,WANExplanation:
are the three types of networkwhat is the file extension if the file editing
Explanation:
"A file extension (or simply "extension") is the suffix at the end of a filename that indicates what type of file it is. For example, in the filename "myreport. txt," the . TXT is the file extension.Sometimes long file extensions are used to more clearly identify the file type."
Which artistic technique uses multiple layers of small calligraphic or scribbled marks?
A. random hatching
B. crosshatching
C. shading
D. stippling
E. scrumbling
Answer:
E. scrumbling
Explanation:
3. Given the following total revenue functions, find the corresponding demand functions:
a) TR = 50Q-4Q²
b) TR = 10
a)TR=50Q4Q2 I hope.this helps
A) The demand function for the total revenue function TR = 50Q - 4Q² is;
P = 50 - 4Q
B) The demand function for the total revenue function TR = 10 is; 10/Q
We are given total revenue functions as;
TR = 50Q - 4Q²
TR = 10
A) TR = 50Q - 4Q²
Formula for revenue function if Q represents the units demanded is;
TR = P × Q
Where P is the demand function
Thus;
50Q - 4Q² = PQ
Divide both sides by Q to get the demand function;
P = 50 - 4Q
B) TR = 10
Formula for revenue function if Q represents the units demanded is;
TR = P × Q
Where P is the demand function
Thus;
10 = P × Q
Divide both sides by Q to get the demand function;
P = 10/Q
Read more at;https://brainly.com/question/13701068
why is it important to give files name that are descriptive of their content
Answer:
Provide a descriptive document file name and title
A unique, descriptive file name helps individuals understand the general topic of a document. Include similar information when writing the title of the document, and apply appropriate punctuation, e.g., no underscores.
Explanation:
Please give thanks to all my answers and please mark as brilliant and please follow me
You should write the client so that it sends 10 ping requests to the server, separated by approximately one second. Each message contains a payload of data that includes the keyword PING, a sequence number, and a timestamp. After sending each packet, the client waits up to one second to receive a reply. If one second goes by without a reply from the server, then the client assumes that its packet or the server's reply packet has been lost in the network.Hint: Cut and paste PingServer, rename the code PingClient, and then modify the code. The two programs follow very similar process.You should write the client so that it starts with the following command:java PingClient host portwhere host is the name of the computer the server is running on and port is the port number it is listening to. Note that you can run the client and server either on different machines or on the same machine.The client should send 10 pings to the server. Because UDP is an unreliable protocol, some of the packets sent to the server may be lost, or some of the packets sent from server to client may be lost. For this reason, the client cannot wait indefinitely for a reply to a ping message. You should have the client wait up to one second for a reply; if no reply is received, then the client should assume that the packet was lost during transmission across the network. You will need to research the API for DatagramSocket to find out how to set the timeout value on a datagram socket.When developing your code, you should run the ping server on your machine, and test your client by sending packets to localhost (or, 127.0.0.1). After you have fully debugged your code, you should see how your application communicates across the network with a ping server run by another member of the class.Message FormatThe ping messages in this lab are formatted in a simple way. Each message contains a sequence of characters terminated by a carriage return character (r) and a line feed character (n). The message contains the following string:PING sequence_number time CRLFwhere sequence_number starts at 0 and progresses to 9 for each successive ping message sent by the client, time is the time when the client sent the message, and CRLF represent the carriage return and line feed characters that terminate the line.
Answer:
figure it out urself
Explanation:
the _ and _ services help us to keep in touch with our family and friends
Answer:
Internet and communication technology
What is Open Source Software
Answer:
Open-source software is a type of computer software in which source code is released under a license in which the copyright holder grants users the rights to use, study, change, and distribute the software to anyone and for any purpose
Explanation:
Here is the problem specification: An Internet service provider has three different subscription packages for its customers: Package A: For $9.95 per month 10 hours of access are provided. Additional hours are $2.00 per hour. Package B: For $14.95 per month 20 hours of access are provided. Additional hours are $1.00 per hour. Package C: For $19.95 per month unlimited access is provided. Write a program that calculates a customer's monthly bill. It should ask which package the customer has purchased and how many hours were used. It should then display the total amount due. Input Validation: Be sure the user only selects package A, B or C. Also, the number of hours used in a month cannot exceed 744. Use switch.
Answer:
In C++:
#include <iostream>
using namespace std;
int main(){
int hour; char pkg; float bill = 0;
cout<<"Package: "; cin>>pkg;
cout<<"Hour: "; cin>>hour;
if(hour<=744 && hour >=0){
switch (pkg) {
case 'A':
bill = hour * 9.95;
if(hour >10){bill = 10 * 9.95 + (hour - 10) * 2;}
break;
case 'B':
bill = hour * 14.5;
if(hour >10){bill = 20 * 14.5 + (hour - 20) * 1;}
break;
case 'C':
bill = 19.95;
break;
default:
cout << "Package must be A, B or C";}
cout<<"Total Bills: $"<<bill; }
else{ cout<<"Hour must be 0 - 744"; }
return 0;
}
Explanation:
This declares all variables: int hour; char pkg; float bill=0;
This prompts the user for package type: cout<<"Package: "; cin>>pkg;
This prompts the user for number of hours: cout<<"Hour: "; cin>>hour;
This checks if hour is between 0 and 744 (inclusive)
if(hour<=744 && hour >=0){
If true, the following is executed
A switch statement to check valid input for package
switch (pkg) {
For 'A' package
case 'A':
Calculate the bill
bill = hour * 9.95;
if(hour >10){bill = 10 * 9.95 + (hour - 10) * 2;}
End of A package: break;
For 'B' package
case 'B':
Calculate the bill
bill = hour * 14.5;
if(hour >10){bill = 20 * 14.5 + (hour - 20) * 1;}
End of B package: break;
For C package
case 'C':
Calculate bill: bill = 19.95;
End of C package: break;
If package is not A, or B or C
default:
Prompt the user for valid package cout << "Package must be A, B or C";}
Print total bills: cout<<"Total Bills: $"<<bill; }
If hour is not 0 to 744: else{ cout<<"Hour must be 0 - 744"; }
name 2 kitchen tools equipment or materials you are going to store or stack in the following drawers and cabinet 1.flat drawer 2.upper cabinet 3 . Small drawer near countertops 4.Lower cabinets 5.Lower cabinets under the sink
Answer:
silverware and dishwasher chemicles
Explanation:
Add (11011)2 + (111)2
Answer:
(11011)2+(111)2=(100010)2
hope it helps.
Answer:
(100010)square is the correct answer Hope it helps you have a great day keep smiling be happy stay safe ☺
Save an image as a separate file by right-clicking the image and then clicking this option at the
shortcut menu
A) Save page as
B) Save Picture as
C) Save Image as
D) None of the above
Answer:
Save image as
Explanation:
Methods ii.) Define and implement a method that takes a string array as a parameter and returns the length of the shortest and the longest strings in the array i.) Write a method that take an integer array as a parameter and returns the sum of positive odd numbers and sum of positive even numbers. iii.) Implements the sequential search method that takes and array of integers and the item to be search as parameters and returns true if the item to be searched in the array, return false otherwise
Answer:
Explanation:
Well I am sorry I don't know the answer anyway.
2. On the line below, create a bulleted list, using the square bullet option, of the following parks
and recreational areas in the United States: Blue Ridge Parkway, Golden Gate National
Recreation Area, Great Smoky Mountain National Park, Gateway National Recreation Area, and
Lincoln Memorial.
Answer:
Blue Ridge Parkway Golden Gate National Recreation AreaGreat Smoky Mountain National Park Gateway National Recreation Area Lincoln Memorial.
Explanation:
teehee
Answer:
Blue Ridge Parkway
Golden Gate National Recreation Area
Great Smoky Mountain National Park
Gateway National Recreation Area
Lincoln Memorial.
Explanation:
1. Which of the following is used to operate computers and execute tasks?
A. Software
C. Update
B. Application
D. Upgrade
Answer:
a.software
I hope it hel
О OF
Types icts commonly
in education.
used
Answer:
The types of the itcs can be defined as follows:
Explanation:
It stands for the information and communication technology, which is used to comprises products that are a store, process, pass, transform, replicate or receive digital communications.
It applies to all technology of interaction, such as the Internet, wireless networks, devices, laptops, middleware, video - conferencing, social media, and other software and services in media, and the four types in which it is used in education can be defined as follows:
(i) networking for education
(ii) Web-based education
(iii) mobile education
(iv) facilities for the classroom
Explain different types of networking-based attacks
Answer:
Network-based cyber attacks. ... These may be active attacks, wherein the hacker manipulates network activity in real-time; or passive attacks, wherein the attacker sees network activity but does not attempt to modify it
Was Nick Carson a good project manager? Why or why not?
Answer:
Nick Carson is not a good project manager because he did not focus on all aspects of the project. He also failed to provide accurate schedules and also detailed plans on the happenings of the project. He was performing other jobs leaving aside the work of project manager. Without concerning and understanding the problem of top management he delivered the project.
Explanation:
Write code to take two words from the user. The program should convert these to lower case, then compare them: printing a positive number if string1 appears after string2 alphabetically, a negative number if string1 appears before string2 alphabetically and zero if the two strings are identical. Make sure your program does not produce any additional numerical output other than this number or it may not be graded correctly.
Answer:
Use compareTo.
Explanation:
import java.util.Scanner;
public class U2_L3_Activity_Three{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
System.out.println("Enter first word: ");
String word1 = scan.nextLine();
System.out.println("Enter second word: ");
String word2 = scan.nextLine();
//I had to make the string all lowercase or all uppercase for when I did this
word1 = word1.toLowerCase();
word2 = word2.toLowerCase();
System.out.println("Result: " + word1.compareTo(word2));
}
}
Following are the program to converting string value into lowercase and compare with an input string value.
Program Explanation:
Import package.Defining a class Dat.Inside the class defining the main method, and in the method, two string variable "string1, string2" is declared.After input, the value a "toLowerCase" method is used that converts string value into lower case. After converting value into the lower case a "compareTo" method is used that compares value and prints its value.Program:
import java.util.*;//import package for input
public class Dat //defining a Dat
{
public static void main(String[] ax)//main method
{
String string1 ,string2; //defining String variable
Scanner sc = new Scanner(System.in);//creating Scanner class object to input value
System.out.println("Enter values: ");//print message
string1= sc.next();//input value
string2= sc.next();//input value
string1= string1.toLowerCase();//convert string value into LowerCase
string2 = string2.toLowerCase();//convert string value into LowerCase
System.out.println("Result: " + string1.compareTo(string2));//using compareTo method
}
}
Output:
Please find the attached file.
Learn more:
brainly.com/question/15706308
Write a program that asks the user to enter five test scores. The program should display a letter grade for each score and the average test score. Write the following methods in the program: calcAverage: This method should accept five test scores as arguments and return the average of the scores. determineGrade: This method should accept a test score as an argument and return a letter grade for the score, based on the following grading scale:
Answer:
See comment for complete question
#include <iostream>
using namespace std;
double calc_Average(double sc1, double sc2, double sc3, double sc4, double sc5){
return (sc1 + sc2 + sc3 + sc4 + sc5)/5;
}
char determine_Grade(double score){
char grade;
if(score >= 90 && score <=100){
grade = 'A';}
else if(score >= 80 && score <90){
grade = 'B';}
else if(score >= 70 && score <80){
grade = 'C';}
else if(score >= 60 && score <70){
grade = 'D';}
else if(score <60){
grade = 'F';}
return grade;
}
int main(){
double sc1,sc2, sc3, sc4, sc5;
cout<<"Enter 5 scores: ";
cin>>sc1>>sc2>>sc3>>sc4>>sc5;
cout<<"Score: "<<sc1<<" Grade: "<<determine_Grade(sc1)<<endl;
cout<<"Score: "<<sc2<<" Grade: "<<determine_Grade(sc2)<<endl;
cout<<"Score: "<<sc3<<" Grade: "<<determine_Grade(sc3)<<endl;
cout<<"Score: "<<sc4<<" Grade: "<<determine_Grade(sc4)<<endl;
cout<<"Score: "<<sc5<<" Grade: "<<determine_Grade(sc5)<<endl;
double Ave = calc_Average(sc1,sc2,sc3,sc4,sc5);
cout<<"Average: "<<Ave<<" Grade: "<<determine_Grade(Ave)<<endl;
return 0;
}
Explanation:
The program was written in C++. Because of the length of the explanation, I've added the explanation as an attachment where I used comments to explain the lines of the code.