Answer:
a bowl
Explanation:
a round, deep dish or basin used for food or liquid.
plz mark brainliest
Suppose you are purchasing something online on the Internet. At the website, you get a 10% discount if you are a member. Additionally, you are also getting a discount of 5% on the item because its Father's Day. Write a function that takes as input the cost of the item that you are purchasing and a Boolean variable indicating whether you are a member (or not), applies the discounts appropriately, and returns the final discounted value of the item. Note: The cost of the item need not be an integer
Answer:
The function is written in C++
void calc_discount(double amount,bool member)
{
double discount;
if(member)
{
discount = amount - 0.10 * amount - 0.05 * amount;
}
else
{
discount = amount - 0.05 * amount;
}
cout<<"Discount = "<<discount;
}
Explanation:
I've included the full source code (including the main method) as an attachment where I use comments as explanations
100 POINTS!!!
Suppose a program requires a password that is a combination of numbers and letters but is not key sensitive. However, the user input is received as a string with letters that can have arbitrary cases. What code can be used to validate user input, u_pass, against the actual password, a_pass?
u_pass.upper() == str(a_pass).upper()
u_pass == a_pass
u_pass == str(a_pass)
u_pass is a_pass
The code that can be used to validate user input, u_pass, against the actual password, a_pass is u_pass.upper() == str(a_pass).upper().
How do one validate user input?The act of input validation is also called data validation. This is said to be the right testing of any input that has been supplied by a user or application.
Conclusively, In Input validation, there is prevention in term of improperly formed data from entering into the information system.
Learn more about coding from
https://brainly.com/question/22654163
Planned value:
How is it calculated?
The only item on the desktop of a new Mac is the hard-drive icon.
True or false?
Answer:
False
There are many more items on the desktop of a new Mac than the hard-drive icon.
What’s command do we use to update a file on MySQL?
Answer:
The MySQL update command/query is used to update existing records in a table in a MySQL database.
Why would a user select More Items for mail merge fields? to manually set an IF-THEN logic for the data field to manually change what merge field data is shown to manually select the format of the name in the greeting line to manually select and place additional fields at an insertion point
Answer:to manually select and place additional fields at an insertion point
Explanation:
Answer:
D. to manually select and place additional fields at an insertion point
Explanation:
edg. 2020
kelly wants to buy a new operating system for a laptop. under which category will it be in online store?
Answer:
Kelly should look at the electronics section, where the laptops are because a laptop is an electronic. Just like an iPhone, iPad, and a TV.
Answer:
Application Software
Explanation:
What does binary mean?
Os and 1s
O Decimals
O Digital
O User data
Answer:
0s and 1s
Explanation:
Answer:
0s and 1s
Explanation: when you talk about binary codes you are talking about the codes made up of 1s and 0s
Java Homework:(The Person, Student, Employee, Faculty, and Staff classes) Design a class named Person and its two subclasses named Student andEmployee. Make Faculty and Staff subclasses of Employee. A person has a name, address, phone number, and email address. A student has a class status (freshman, sophomore, junior, or senior). Define the status as a constant. An employee has an office, salary, and date-hired. Define a class named MyDate that contains the fields year, month, and day. A faculty member has office hours and a rank. A staff member has a title. Override the toString method in each class to display the class name and the person's name.
class Person{
//A person has a name, address, phone number, and email address.
String name;
String address;
String phone;
String email;
}
class Student extends Person{
//A student has a class status
//(freshman,sophomore, junior, or senior).
//Define the status as a constant.
final int freshman =1;
final int sophomore =2;
final int junior=3;
final int senior=4;
int status=freshman;
}
class Employee extends Person{
//An employee has an office, salary, and date hired.
String office;
double salary;
java.util.Date dateHired;
}
class Faculty extends Employee{
//A faculty member has office hours and a rank.
String officeHours;
String rank;
}
class Staff extends Employee{
//A staff member has a title
String title;
}
public class ex112{
}
The outline is given above. Fill in between brackets to finish! Thank you :)
Answer: Wait, so what is the question exactly..?
The text help readers understand the relationship between gender and sports?THESE PUMPKINS SURE CAN KICK!
Answer:
What's the question?????I don't understand
A file concordance tracks the unique words in a file and their frequencies. Write a program that displays a concordance for a file. The program should output the unique words and their frequencies in alphabetical order. Variations are to track sequences of two words and their frequencies, or n words and their frequencies. Below is an example file along with the program input and output: example.txt I AM SAM I AM SAM SAM I AM
Answer:
Here is the Python program:
filename=input('Enter the file name: ') #prompts to enter file name
file = open(filename,"r+") #opens file in read mode
dict={} #creates a dictionary
for word in file.read().split(): #reads and splits the file and checks each word in the file
if word not in dict: #if word is not already present in dictionary
dict[word] = 1 #sets dict[word] to 1
else: #if word is already in the dictionary
dict[word] += 1 #adds 1 to the count of that word
file.close(); #closes file
for key in sorted(dict): #words are sorted as per their ASCII value
print("{0} {1} ".format(key, dict[key])); #prints the unique words (sorted order) and their frequencies
Explanation:
I will explain the program with an example:
Lets say the file contains the following contents:
I AM SAM I AM SAM SAM I AM
This file is read using read() method and is split into a list using split() method so the file contents become:
['I', 'AM', 'SAM', 'I', 'AM', 'SAM', 'SAM', 'I', 'AM']
for word in file.read().split():
The above for loop checks file contents after the contents are split into a list of words. So if statement if word not in dict: inside for loop checks if each item in the list i.e. each word is not already in dict. It first checks word 'I'. As the dictionary dict is empty so this word is not present in dict. So the statement dict[word] = 1 executes which adds the word 'I' to dict and sets it to 1. At each iteration, each word is checked if it is not present in dictionary and sets its count to 1. This way the words 'I', 'AM' and 'SAM' count is set to 1. Now when 'I' appears again then this if condition: if word not in dict: evaluates to false because 'I' is already present in the dict. So else part executes dict[word] += 1 which adds 1 to the count of this word. So frequency of 'I' becomes 2. Now each time when 'I' in encountered its count is incremented by 1. Since 'I' appears three times so frequency of 'I' is 3.
After all the words are checked and the loop ends, the next for loop for key in sorted(dict): uses sorted method to sort the items in dict in alphabetical order then check each key of the dict and prints the key value along with it frequency. So the output of the entire program is:
AM 3 I 3 SAM 3
The screenshot of program along with its output is attached.
Computing devices translate digital to analog information in order to process the information
Answer:
True?
Explanation: is IT RIGHT?????????????????
You're a ticket agent for a commercial airline and responsible for checking the identification for each passenger before issuing their boarding pass. Due to federal regulations, there is a total of three different forms of ID that can potentially be used. You must determine whether the passenger has the sufficient identification to board the plane or not. Facts: ⢠A passport is enough for a boarding pass ⢠Without a passport, passengers must have two other forms of ID: driver's license birth certificate ⢠If the above two conditions are not met, then they are denied. Input Your solution must take in three boolean inputs. The first input represents whether they have a passport or not. The second input represents whether they have a driver's license or not. The third input represents whether they have a birth certificate or not Output The output should display as a boolean result whether they can board the plane or not. Sample Input Sample output true false false true false true true true false false false false
Answer:
Follows are the code to this question:
import java.util.*;//import package for user input
public class Main //defining class
{
public static void main(String[] as)//main method
{
boolean x,y,z;//defining boolean variable
Scanner ox= new Scanner(System.in);//create Scanner class object for user input
System.out.println("input value: "); //print message
x=ox.nextBoolean();//input value
y=ox.nextBoolean();//input value
z=ox.nextBoolean();//input value
System.out.println("Output: ");//print message
System.out.println(x || (y &&z));//use print method to check value and print its value
}
}
Output:
1)
input value:
true
false
false
Output:
true
2)
input value:
false
true
true
Output:
true
3)
input value:
false
false
false
Output:
false
Explanation:
In the given code, inside the class three boolean variable "x,y, and z" is declared, that uses the scanner class for input the value from the user end, and in the next print, the method is declared, that uses " OR and AND" gate for calculating the input value and print its value.
In the AND gate, when both conditions are true. it will print the value true, and in the OR gate, when one of the conditions is true, it will print the value true.
Lazarus Consulting is a large computer consulting company in New York. Pete Lazarus, theà CEOà and founder, is well known for his philanthropic efforts. Pete knows that most of his employees contribute to nonprofit organizations and wants to reward them for their efforts while encouraging others to contribute to charities. Pete began a program that matches 50 percent of each employee donation. The only stipulations are that the charity must be a nonprofit organization and the company will match only up to $2,000 per year per employee.
Use the à data fileà provided to determine the following:
What was the total donation amount per organization?
What were the average donations per organization?
Answer:
There are too many weird characters in this question, so I am unable to fix it, comment on this with the correct characters so I can submit a correct answer.
Instructions PhoneNumbersjava + 1 import java.util.*; 2 class PhoneNumbers 3 public static void main(String[] args) 4 //write code here A personal phone directory contains room for first names l and phone numbers for 30 people. Assign names and phone numbers for the first 10 people. Prompt the user for a name, and if the name is found in the list, display the corresponding phone number. If the name is not found in the list, prompt the user for a phone number, and add the new name and phone number to the list. Continue to prompt the user for names until the user enters quit. After the arrays are full (containing 30 names), do not allow the user to add new entries. Use the following names and phone numbers: Name Phone # Gina Marcia (847) 341-2392 Rita Jennifer (414) 234-0912 Fred Neil Judy (608) 435-0434 Arlene (608) 123-0312 LaWanda (920) 787-9813 Deepak (930) 412-0991 (847) 341-0912 (847) 354-0654 (414) 435-6567 (608) 123-0904
Answer:
What is the question?
_____ is a framework based on JavaScript and HTML that is normally used to make dynamic web apps.
a
Python
b
CSS
c
AngularJS
d
A database
Answer:
AngularJS (c)
Explanation:
Answer:
AngularJS
node is better
Explanation:
Which of the following is a sign you may be drowsy behind the wheel?
A. Jitteriness
B. Happiness
C. Unhappiness
D. Irritability
The sign that you may be drowsy behind the wheel is Unhappiness. The correct option is C.
What are feelings?Feelings and emotions vary fundamentally in that feelings are experienced consciously, whereas emotions manifest either consciously or subconsciously.
Some people may go years, if not a lifetime, without comprehending the depths of their feelings. Drowsiness encompasses symptoms such as tiredness, inability to keep busy, feeling uninteresting, and the absence of happiness.
Therefore, the correct option is C. Unhappiness.
To learn more about feelings, refer to the link:
https://brainly.com/question/13044426
#SPJ1
Explain the five most important things that should be taken into consideration when designing a computer network.
Explanation:
Many computer experts (networkers) believe that you consider the following when designing a computer network:
Budget: By considering the amount available to be spent on setting up the computer network, it allows buying the best quality equipment considering the available funds.Type of network connectivity: This involves determining whether the network would only be a wireless connection or wired connection using cables, or involves both combinations.Type of security: This involves deciding the type of network security to be installed. Answering: Would it cloud systems be used? What type of firewall systems to use, etc?The type of hardware and software: This is very important in other to determine how optimal the network would be.Disaster recovery plan: For example, what type of back-up power would be required or affordable, solar power, or generator?Helppp!!! Will give brainliest! Which of these operating system use the organize file?
Hypervisor
Firmware or wetware
Folders or directories
Output devices
Answer:hyperviser
Explanation:
What statement best describes percentage values in CSS?
A.It's the fraction of the value that came before it.
B.It's the smallest controllable element on the screen.
C.It's always the width of an indent.
D.It's a value that is relative to the width of its HTML element or to the page.
Answer:
Im sorry if its wrong but i believe its D.
Explanation:
D. It's a value that is relative to the width of its HTML element or to the page.
Answer:
The answer is
Explanation:
D. It's a value that is relative to the width of its HTML element or to the page.
In a user interface, a screen is best understood as
A.a console
b.a variable
c.an input
d. an element
Answer:
d. an element
Explanation:
User Interface design is simply the designs that are used to model a product like an application.
In a user interface, a screen is best understood as an element.
Complete performance index:
How is it calculated?
Answer:
Remaining Work = Total budget – Earned Value. = (BAC – EV).
In which of the following scenarios would it be best to use a for loop?
1. When you need to stop looping based on input from the user
2. When you need to check that a user's input is valid.
3. When you want to ask the user for 10 numbers
4. When you need to be able to use the block of code in many places in your program
Answer:
I would say 3 is the most likely answer ("When you want to ask the user for 10 numbers").
You use for loops to perform a task x times usually.
Can I publish my book on Google?
Answer:
☆|《HOPE IT WILL HELP YOU 》>☆
Explanation:
YES YOU CAN PUBLISH YOUR BOOK ON GOOGLE
please mark my ans as BRAIN LISTWhat is a copyright?
the exclusive legal right, given to an originator or an assignee to print, publish, perform, film, or record literary, artistic, or musical material, and to authorize others to do the same.
help help help help help help help help
Answer:
ok witch qeston
Explanation:
Answer:
2
Explanation:
Cyberbullying someone by threatening to hurt them is ethically wrong, but does NOT violate any laws. True False
What is the tag used for?
Answer:
The title tag is an HTML title element critical to both SEO and user experience that is used to briefly and accurately describes the topic and theme of an online document. The title tag is displayed in two key places: Internet Browser – Title Tags display in the top bar of internet browsers.
Lifelong learning ____?
A. stops when your career is over
B. only occurs in a classroom setting
C. begins after you retire
D. can be informal
Answer:
can be informal
Explanation:
just took the Unit Test
If the machine executes 5000 instructions every microsecond (millionth of a second), how many instructions does the machine execute during the time between the typing of two consecutive characters?
Answer:
5*10^9 instructions
Explanation:
Let's apply logic to solve this particular problem.
If 5000 instructions get executed in a millionth of a second, then this means that
5000 instructions gets executed every 1*10^-6 second
5000*10^6 instructions get executed every second, or say
5*10^9 instructions get executed after every second.
Going forward, it isn't stated how long it takes to type two consecutive characters, so will assume it's just 1 second(since it's consecutively).
So, succinctly put, if it takes 1 second to type the two characters consecutively, then the machine executed 5*10^9 instructions. And if it takes 2 seconds to type the two characters, then the machine would have executed 10*10^9 instructions