Answer:
INSERT INTO categories (CategoryName)
VALUES ('Brass Code');
Explanation:
The SQL refers to the Structured Query Language in which the data is to be designed and maintained that occurred in the relational database management system i.e it is to be used for maintaining and query the database
Now the INSERT statement should be written as follows
INSERT INTO categories (CategoryName)
VALUES ('Brass Code');
Your location has been assigned the 172.149.254.0 /24 network. You are tasked with dividing the network into 13 subnets with the maximum number of hosts possible on each subnet.
Required:
a. What is the dotted decimal value for the subnet mask?
b. How many additional bits will you need to mask in the subnet mask?
Given:
Network IP address [tex]\bold{= 172.149.254.0 /24}[/tex]
Subnet numbers [tex]\bold{= 13}[/tex]
Calculating the borrow bits:
[tex]\to \bold{= ceil(\log_{2} 13) = 4 \ bits}[/tex]
a)
Calculating the dotted decimal value for the subnet mask:
[tex]\to \bold{11111111.11111111.11111111.00000000}\\\\\to \bold{255.255.255.240}\\\\[/tex]
b)
The additional bits which will be needed to mask the subnet mask that is = 4.
Learn more: brainly.com/question/2254014
Create a class named CarRental that contains fields that hold a renter's name, zip code, size of the car rented, daily rental fee, length of rental in days, and total rental fee. The class contains a constructor that requires all the rental data except the daily rate and total fee, which are calculated bades on the sice of the car; economy at $29.99 per day, midsize at 38.99$ per day, or full size at 43.50 per day. The class also includes a display() method that displays all the rental data. Create a subclass named LuxuryCarRental. This class sets the rental fee at $79.99 per day and prompts the user to respond to the option of including a chauffer at $200 more per day. Override the parent class display() method to include chauffer fee information. Write an application named UseCarRental that prompts the user for the data needed for a rental and creates an object of the correct type. Display the total rental fee. Save the files as CarRental.java, LuxaryCarRental.java, and UseCarRental.java.
Here is my code:
package CarRental;
public class CarRental
{
String name;
int zipcode;
String size;
double dFee;
int days;
double total;
public String getName()
{
return name;
}
public int getZipcode()
{
return zipcode;
}
public String getSize()
{
return size;
}
public int getDays()
{
return days;
}
public CarRental(String size)
{
if(size.charAt(0)=='m')
dFee = 38.99;
else
if(size.charAt(0)=='f')
dFee = 43.50;
else
dFee = 29.99;
}
public void calculateTotal(int days)
{
total = dFee*days;
}
public void print()
{
System.out.println("Your rental total cost is: $" + total);
}
}
package CarRental;
import java.util.*;
public class LuxaryCarRental extends CarRental
{
public LuxaryCarRental(String size, int days)
{
super(size);
}
public void CalculateTotalN()
{
super.calculateTotal(days);
dFee = 79.99;
int chauffer;
Scanner keyboard = new Scanner(System.in);
System.out.println("Do you want to add a chauffer for $200? Enter 0 for"
+ " yes and 1 for no");
chauffer = keyboard.nextInt();
if(chauffer!=1)
total = dFee;
else
total = dFee + 100;
}
}
package CarRental;
import java.util.*;
public class UseCarRental
{
public static void main(String args[])
{
String name, size;
int zipcode, days;
Scanner keyboard = new Scanner(System.in);
System.out.println("Enter total days you plan on renting: ");
days = keyboard.nextInt();
System.out.println("Enter your name: ");
name = keyboard.next();
System.out.println("Enter your billing zipcode: ");
zipcode = keyboard.nextInt();
System.out.println("Enter the size of the car: ");
size = keyboard.next();
CarRental economy = new CarRental(size);
economy.calculateTotal(days);
economy.print();
LuxaryCarRental fullsize = new LuxaryCarRental(size, days);
fullsize.CalculateTotalN();
fullsize.print();
}
Answer:
Here is the corrected code: The screenshot of the program along with its output is attached. The comments are written with each line of the program for better understanding of the code.
CarRental.java
public class CarRental { //class name
//below are the data members name, zipcode, size, dFee, days and total
String name;
int zipcode;
String size;
double dFee;
int days;
double total;
public String getName() { //accessor method to get the name
return name; }
public int getZipcode() { //accessor method to get the zipcode
return zipcode; }
public String getSize() { //accessor method to get the size
return size; }
public int getDays() { //accessor method to get the days
return days; }
public CarRental(String size) { //constructor of CarRental class
if(size.charAt(0)=='e') // checks if the first element (at 0th index) of size data member is e
dFee = 29.99; // sets the dFee to 29.99
else if(size.charAt(0)=='m') // checks if the first element (at 0th index) of size data member is m
dFee = 38.99; // sets the dFee to 38.99
else // checks if the first element (at 0th index) of size data member is f
dFee =43.50; // sets the dFee to 43.50
}
public void calculateTotal(int days) { //method calculateTotal of CarRental
total = dFee*days; } //computes the rental fee
public void print() { //method to display the total rental fee
System.out.println("Your rental total cost is: $" + total); } }
Explanation:
LuxuryCarRental.java
import java.util.*;
public class LuxuryCarRental extends CarRental { //class LuxuryCarRental that is derived from class CarRental
public LuxuryCarRental(String size, int days) { // constructor of LuxuryCarRental
super(size);} //used when a LuxuryCarRental class and CarRental class has same data members i.e. size
public void calculateTotal() { //overridden method
super.calculateTotal(days); // used because CarRental and LuxuryCarRental class have same named method i.e. calculateTotal
dFee = 79.99; //sets the rental fee at $79.99 per day
total = dFee; } //sets total to rental fee value
public void print(){ //overridden method
int chauffeur; // to decide to include chauffeur
Scanner keyboard = new Scanner(System.in); //used to take input from user
System.out.println("Do you want to add a chauffeur for $200? Enter 0 for"
+ " yes and 1 for no"); // prompts the user to respond to the option of including a chauffeur at $200 more per day
chauffeur = keyboard.nextInt(); //reads the input option of chauffeur from user
if(chauffeur==1) //if user enters 1 which means user does not want to add a chauffeur
total = dFee; //then set the value of dFee i.e. $79.99 to total
else //if user enters 0 which means user wants to add a chauffeur
total = dFee + 200; //adds 200 to dFee value and assign the resultant value to total variable
System.out.println("Your rental total cost is: $" + total); } } //display the total rental fee
UseCarRental.java
import java.util.*;
public class UseCarRental{ //class name
public static void main(String[] args){ //start of main() function body
String name, size; // declare variables
int zipcode, days; //declare variables
Scanner keyboard = new Scanner(System.in); // to take input from user
System.out.println("Enter total days you plan on renting: "); //prompts user to enter total days of rent
days = keyboard.nextInt(); // reads value of days from user
System.out.println("Enter your name: "); //prompts user to enter name
name = keyboard.next(); //reads input name from user
System.out.println("Enter your billing zipcode: "); // prompts user to enter zipcode
zipcode = keyboard.nextInt(); //reads input zipcode from user
System.out.println("Enter the size of the car: "); // prompts user to enter the value of size
size = keyboard.next(); //reads input size from user
CarRental economy = new CarRental(size); //creates an object i.e. economy of class CarRental
economy.calculateTotal(days); //calls calculateTotal method of CarRental using instance economy
economy.print(); //calls print() method of CarRental using instance economy
LuxuryCarRental fullsize = new LuxuryCarRental(size, days); //creates an object i.e. fullsize of class LuxuryCarRental
fullsize.calculateTotal(); //calls calculateTotal method of LuxuryCarRental using instance fullsize
fullsize.print(); }} //calls print() method of LuxuryCarRental using instance fullsize
________type of website is an interactive website kept constantly updated and relevant to the needs of its customers using a database.
Answer:
Data-driven Website
Explanation:
A Data-driven website is a type of website that is continually updated by its administrators so as to meet users' needs. It is opposed to a static website whose information remains the same and is never changed once uploaded.
The data-driven website is used in a platform where information has to be continually updated. An example is an online platform where people place orders for goods and services. There are usually changing prices and new goods continually uploaded. So, to keep the consumers updated, the administrators of such platforms would use a data-driven platform.
1011111 ÷ 11 in numerical
Answer:
91919.18182
Explanation:
Answer:
91,919 .1HOPE IT HELPS .
Consider two different implementations of the same instruction set architecture (ISA). The instructions can be divided into four classes according to their CPI (class A, B, C, and D). P1 with a clock rate of 2.5 GHz have CPIs of 1, 2, 3, and 3 for each class, respectively. P2 with a clock rate of 3 GHz and CPIs of 2, 2, 2, and 2 for each class, respectively. Given a program with a dynamic instruction count of 1,000,000 instructions divided into classes as follows: 10% class A, 20% class B, 50% class C, and 20% class D.which implementation is faster?
a. What is the global CPI for each implementation?
b. Find the clock cycles required in both cases.
Answer: Find answers in the attachments
Explanation:
Raj was concentrating so much while working on his project plan that he was late for a meeting. When he went back to his office, he noticed his system was restarted and his project file was not updated. What advice would you provide Raj in this situation?
Answer:
Explanation:
Depending on the software that Raj was using to create his project he should first see if the software itself saved the project. Usually many software such as those included in the Microsoft Office Suite save the file automatically every 5 minutes or so in case of a power outage or abrupt closure of the file. If this is not the case he should try and do a system restore with the unlikely hope that it restores an older version of his project.
In a situation like this, it would be advisable for Raj to contact IT personnels and seek if the files could be retrieved.
Raj being late for a meeting due to what he was doing meant that the project he was working on is very important. Therefore, to avoid losing thses files, he could contact the IT personnels and request if there is a way to retrieve the project file.These way, the files could be retrieved and avoid losing his work.
Learn more : https://brainly.com/question/15315011
Cloud computing gives you the ability to expand and reduce resources according to your specific service requirement.
a. True
b. False
Answer:
a. True
Explanation:
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.
Generally, cloud computing offers individuals and businesses a fast, effective and efficient way of providing services.
In Computer science, one of the most essential characteristics or advantages of cloud computing is rapid elasticity.
By rapid elasticity, it simply means that cloud computing gives you the ability to expand and reduce resources according to your specific service requirement because resources such as servers can be used to execute a particular task and after completion, these resources can then be released or reduced.
Some of the examples of cloud computing are Google Slides, Google Drive, Dropbox, OneDrive etc.
Which wireless device connects multiple laptops, tablets, phones, and other mobile devices in a corporate environment?
Answer:
Bluetooth or a wifi router or a gateway
Explanation:
What is true about the pivot in Quicksort? Group of answer choices After partitioning, the pivot will always be in the center of the list. After partitioning, the pivot will never move again. Before partitioning, it is always the smallest element in the list. A random choice of pivot is always the optimal choice, regardless of input.
Answer:
The pivot is selected randomly in quick sort.
As an ICT student teacher using convincing and cogent reasons explain why you think operating system is pivotal in teaching and learning
Answer:
An operating system (OS) is a software which is responsible for the management of computer hardware, software, and also provides common services for computer programs.
Operating System is pivotal in teaching and learning because:
1. It enables computer programs to run smoothly on various computer devices.
2. The Operating System gives teachers the opportunity to install learning apps on their devices for ease of teaching.
3. It enables students to download and install learning applications, download and upload assignments, etc.
4. The Operating System makes video conferencing for online tuition easy and smooth.
5. It makes computer users to interact with other applications and softwares within a device.
Operating systems are found on many computer devices e.g: mobile phones, video games, PCs, supercomputers, etc.
The invention of the integrated circuit was the first major advance in computing. The integrated circuit made it possible for all of a computer's electrical components to reside on one silicon chip.
This invention became known as the __________.
personal computer
microprocessor
client-server configuration
mainframe computer
Answer:
micro processor
Explanation:
When the code that follows is executed, a message is displayed if the value the user entersvar userEntry = (prompt("Enter cost:");if (isNaN(userEntry) || userEntry > 500 ) { alert ("Message");a. isn’t a number or the value in userEntry is more than 500b. isn’t a number and the value in userEntry is more than 500c. is a number or the value in userEntry is more than 500d. is a number and the value in userEntry is more than 500
Answer:
The answer is "Option b".
Explanation:
In the given-code variable "userEntry" is defined that prompt the user to input value and in the next step, the conditional statement is used, which checks the input value is not a number and greater than 500 with use of OR operator. if the condition is true it uses the alert box to print the message, that's why in this question except "choice b" all were wrong.
Explain how/where could you change the NIC Card configuration from dynamic DHCP setting to an IP address of 10.254.1.42 with a subnet mask of 255.255.0.0 and a gateway of 10.254.0.1. (hint: we spoke about 2 different methods)
Answer:
Using the terminal in linux OS to configure a static ip address, gateway and subnet mask.
Explanation:
-Enter the terminal in the linux environment and use the ifconfig eth0 or -a to bring up the main network interface and other network interfaces.
- for static network configuration, use;
- ifconfig eth0 10.254.1.42
- ifconfig eth0 netmask 255.255.0.0
- ifconfig eth0 broadcast 10.254.255.255
- and add a default gateway with;
- route add default gw 10.254.0.1 eth0.
- Now verify the settings with the ifconfig eth0 command.
During the name resolution process, which technique is used to avoid congestion when querying a server
Answer:
"NOT lookup " is the correct approach.
Explanation:
This methodology significantly reduces the quantity of congestion of DNS messages on a certain file. The application establishes that whenever a question reaches if it is processed. Unless the file is loaded, then perhaps the response is returned with the cached cache.Typically the name resolution occurs in something like a DNS File. The conversion usually occurs throughout this cycle from Username to IP, including IP via Username.mplement the function fileSum. fileSum is passed in a name of a file. This function should open the file, sum all of the integers within this file, close the file, and then return the sum.If the file does not exist, this function should output an error message and then call the exit function to exit the program with an error value of 1.Please Use This Code Template To Answer the Question#include #include #include //needed for exit functionusing namespace std;// Place fileSum prototype (declaration) hereint main() {string filename;cout << "Enter the name of the input file: ";cin >> filename;cout << "Sum: " << fileSum(filename) << endl;return 0;}// Place fileSum implementation here
Answer:
Which sentence best matches the context of the word reticent as it is used in the following example?
We could talk about anything for hours. However, the moment I brought up dating, he was extremely reticent about his personal life.
Explanation:
Which sentence best matches the context of the word reticent as it is used in the following example?
We could talk about anything for hours. However, the moment I brought up dating, he was extremely reticent about his personal life.
UAAR is planning to build in house software similar to Zoom Application. University Authorities contact with you in order to provide best solution with in limited time and limited resources in term of cost.
Describe the roles, Artifacts and activities, keeping in view Scrum process model.
Compare and contract your answer with scrum over XP for development of above mention system. Justify your answer with the help of strong reasons, why you choose scrum model over XP model. How scrum is more productive for project management. Furthermore, highlight the shortcoming of XP model.
Answer:
Following are the answer to this question:
Explanation:
If working to develop Zoom-like house software, its best solution is now in a limited period of time even with effectively reduced assets;
Evaluate all roles in preparation
Create a "Pool Draw"
Choose a singular set of resources.
Utilize Time Recording.
Concentrate on assignments and project objectives.
An object, in which by-product of the development in the software. It's created for the development of even a software program. It could include database schemas, illustrations, configuration screenplays-the list just goes on.
All development activities of Scrum are composed with one or several groups from a lineout, each containing four ruck roles:
Holder of the drug
ScrumMaster and Master
Equipment for development.
Owner of the drug
It is the motivating core of the product marketing idea, that Keeps transparent the vision about what the team member is trying to seek so that to accomplish as well as interacts to all of the other members, the project manager is responsible for the success of the way to solve being formed or retained.
ScrumMaster It operates as a mentor and providing guidance throughout the development phase, it takes a leadership position in the abolishment with impediments that also impact employee productivity and therefore have no ability to control the team, but the roles of both the project team or program manager are not quite the same thing. It works as a leader instead of the management team.
Equipe for development
The Scrum characterizes the design team as a diverse, multi-functional community of individuals who design, construct as well as evaluate the application of those who want.
In this usually 5 to 9 individuals; one's representatives should be able to make quality responsive applications collaboratively.
It is a framework that operates along with teams. It is often seen as agile project management as well as explains a set of conferences, techniques, and roles that also assist individuals to organize as well as complete their employees together. The multidisciplinary team from Scrum means that a person should take a feature from idea to completion.Scrum and XP differences:
Its team members in Scrum usually operate in the various weeks with one month-long incarnation. The XP teams generally work in incarnations which are either one two weeklong. Scrum doesn't write a prescription the certain project management; XP seems to do. Scrum may not make access to other their sprints. XP teams are far more receptive to intervention inside of their repetitions.What is system software? Write its types.
Answer:
There are two main types of software: systems software and application software. Systems software includes the programs that are dedicated to managing the computer itself, such as the operating system, file management utilities, and disk operating system (or DOS)
Answer:
There are two main types of software: systems software and application software. Systems software includes the programs that are dedicated to managing the computer itself, such as the operating system, file management utilities, and disk operating system (or DOS)
Explanation:
thanks for question
Select the true statement about the motherboard.
It executes the commands sent to it by the application software.
It acts as a storage point for read-only memory (ROM).
It acts as the working memory of the computer by transferring data from the hard disk for processing.
It provides much of the electrical connection between different computer parts.
Answer:
it executes the commands sent to it by the applica software .
The motherboard provides much of the electrical connection between different computer parts.
What is a motherboard?This is known to be a kind of printed circuit board that is made up of some key parts or aspect of a computer or any kind of device.
Conclusively, it is one that is made up of It connectors that is a place where other circuit boards can be placed and as such act to provides much of the electrical connection between different computer parts.
Learn more about motherboard from
https://brainly.com/question/12795887
#SPJ2
When you start your computer then which component works first?
a_____________ may have its value change during program execution. options. flowchart,counter, Algorithm,None of them
Answer:
i think is "none of them"
Assign decoded_tweet with user_tweet, replacing any occurrence of 'TTYL' with 'talk to you later'.Sample output with input: 'Gotta go. I will TTYL.'Gotta go. I will talk to you later.code given:user_tweet = input()decoded_tweet = ''' Your solution goes here '''print(decoded_tweet)
Answer:
Here is the Python program:
user_tweet = input()
decoded_tweet = user_tweet.replace('TTYL', 'talk to you later')
print(decoded_tweet)
Explanation:
The program works as follows:
Suppose the input is: 'Gotta go. I will TTYL'
This is stored in user_tweet. So
user_tweet = 'Gotta go. I will TTYL'
The statement: user_tweet.replace('TTYL', 'talk to you later') uses replace() method which is used to replace a specified string i.e. TTYL with another specified string i.e. talk to you later in the string stored in user_tweet.
The first argument of this method replace() is the string or phrase that is to be replaced and the second argument is the string or phrase that is to replace that specified string in first argument.
So this new string is assigned to decoded_tweet, after replacing 'TTYL' with 'talk to you later' in user_tweet.
So the print statement print(decoded_tweet) displays that new string.
Hence the output is:
Gotta go. I will talk to you later.
Write the following numbers in binary. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 46. 55. 61.
Windows workstations all have elements of server software built-in. What are these elements, and why is the Windows Professional OS not considered a server?
Answer:
The answer is below
Explanation:
Elements of Server software that is built-in, in Windows workstations are:
1. Hard drives,
2. RAM (Random Access Memory)
3. Processors
4. Network adapters.
Windows Professional OS is not considered a server due to the following:
1. Windows Professional OS has a limit on the number of client connections it allowed.
2. Unlike Server, Professional OS uses less memory
2. In comparison to Server, Professional OS uses the CPU less efficiently
4. Professional OS is not built to process background tasks, unlike Server that is configured to perform background tasks.
subratract 11100 from 1011 by using 1's complement method step by step
Enum fruit_tag {
BLUEBERRY,
BANANA,
PINEAPPLE,
WATERMELON
};
typedef enum fruit_tag fruit_t;
void printFruit(fruit_t myFruit) {
switch(myFruit) {
case BLUEBERRY:
printf("a blueberry");
break;
case BANANA:
printf("a banana");
break;
case PINEAPPLE:
printf("a pineapple");
break;
case WATERMELON:
printf("a watermelon");
break;
}
}
void compareFruit(fruit_t fruit1, fruit_t fruit2) {
if (fruit1 > fruit2) {
printFruit(fruit1);
printf(" is larger than ");
printFruit(fruit2);
}
else {
printFruit(fruit1);
printf(" is smaller than ");
printFruit(fruit2);
}
}
int main(void) {
fruit_t myFruit = PINEAPPLE;
fruit_t otherFruit = BLUEBERRY;
compareFruit(myFruit, otherFruit);
return 0;
What is the output?
Answer:
The output is "a pineapple is larger than a blueberry ".
Explanation:
In the given C language code Enum, typedef, and two methods "printfruit and compareFruit" is declared, that can be defined as follows:
In the enum "fruit_tag" there are multiple fruit name is declared that use as the datatypes. In the next line, the typedef is defined, that enum to define another datatype that is "fruit_t". In the next step, the printFruit method is defined that accepts "myFruit" variable in its parameter and use the switch case to to check value. In the "compareFruit" method, it accepts two parameters and uses the if-else block to check its parameters value and print its value. In the main method, two variable "myFruit and otherFruit" variable is declared that stores the values and pass into the "compareFruit" method and call the method.All of the following are extra precautions you can take to secure a wireless network EXCEPT ________. change your network name (SSID) enable SSID broadcast turn on security protocols create a passphrase
Answer:
Enable SSID broadcast
Explanation:
All of the following are extra precautions you can take to secure a wireless network except enable SSID broadcast. The correct option is B.
What is SSID broadcast?When people in the area try to join their wireless devices, the name of your network is listed in the list of available networks thanks to broadcasting the SSID.
You can stop SSID broadcasting if you don't want arbitrary wireless devices attempting to connect to your network.
Home networks don't need to have a visible SSID unless they have many access points that devices can switch between.
If your network just has a single router, disabling this function means giving up the ease of adding new home network customers in exchange for certain security gains.
Apart from enabling SSID broadcast, there are other security measures you may take to protect a wireless network.
Thus, the correct option is B.
For more details regarding SSID broadcast, visit:
https://brainly.com/question/13191413
#SPJ6
Suppose we have 999 records of employees Emp1, Emp2, Emp5, Emp6 and so on up to Emp998 and Emp999 stored in a sequence. Hence, records are nothing but a row in the table. In the employee table, we want to insert new records Emp3 and Emp4 in the sequence, and once we have done insertion we need to update and retrieve the record efficiently to optimize the performance of a database by minimizing the access time when query is being executed.
You are required to solve the problem with the index sequential access method with pros and cons in the given scenario
The records in the table represents the employee ID of each employee. Assume the table name is EMPLOYEES and the field name of employee IDs is ID, the following SQL query inserts Emp3 and Emp4 into the employees table.
INSERT INTO EMPLOYEES (ID) values (Emp3), (Emp4)
The advantage of using ISAM is that priorities are given to the indices of the records being inserted. So, Emp3 and Emp4 will be inserted immediately after Emp2.
However, a major disadvantage of using ISAM is that it is very expensive to keep the indices in a sequential order;
See attachment for the illustration of Index sequential access method (ISAM).
Read more about Index sequential access method (ISAM) at:
https://brainly.com/question/4692093
Can someone compress this ipv6 address? 558c:0000:0000:d367:7c8e:1216:0000:66be
558c::d367:7c8e:1216:0:66be
what are the different versions of Ms word?
Answer:
ms paint will not attend as the ICRC is the time to move becuse to get free skin on your skin that you have a doubt about the quality and
What is the importance of using Onedrive in Windows 10 and how knowledge of it will have an impact in today's workplace?
The importance of one drive in windows 10 is that it helps the user to synchronize files in their computer.
Onedrive is a cloud storage system that is useful for the storage of files in a secured manner. A person can easily access their files whenever they want to.
In todays workplace a knowledge of onedrive has a great impact because
Onedrive offers an unlimited access to files whenever they are neededThe files can be available and accessed from anywhereIt helps with the organization of files in the work place.One drive allows for this to be done even when offline. When online, there is an automatic synchronization of the made changes.
Read more at https://brainly.com/question/17163678?referrer=searchResults
Learn more:
brainly.com/question/24369537