Answer:
non-volatile and persistent in nature
What is dialog box?
Answer:
a small area on a screen in which the user is prompted to provide information or select commands is called a dialog box.
I hope this will help you
Stay safe
A __________ search engine focuses on a specific subject.
answer : Specialized
Answer:
Specialized fr just want point lol
Explanation:
List out 20 output devices
Here is 12
Computer MonitorAudio SpeakersHeadphonesPrintersProjectorsPlottersVideo CardsSound CardsCD and DVD mediaActuatorsGPSFaxesvarious sources of ict legislation
Answer:
oh ma ma my here it is
Explanation:
Legislation of ICT The purpose of legislation is to control and regulate the use of ICT. Different acts in result in different benefits to the end user or other people affected by the technology. ... Legislation protects people and ensures that there is no abuse by others to those investing in the technology
Suppose that a disk unit has the following parameters: seek time s = 20 msec; rotational delay rd = 10 msec; block transfer time btt = 1 msec; block size B = 2400 bytes; interblock gap size G = 600 bytes. An EMPLOYEE file has the following fields: Ssn, 9 bytes; Last_name, 20 bytes; First_name, 20 bytes; Middle_init, 1 byte; Birth_date, 10 bytes; Address, 35 bytes; Phone, 12 bytes; Supervisor_ssn, 9 bytes; Department, 4 bytes; Job_code, 4 bytes; deletion marker, 1 byte. The EMPLOYEE file has r = 30,000 records, fixed-length format, and unspanned blocking.
Answer:
20
Explanation:
I hope it helps choose me the brainst
If we were ever to use this pizza ordering program again, we would want to use mainline logic to control its execution. The way it is written, it will automatically execute as soon as it is imported.
Re-write this program, enclosing the top level code into the main function. Then execute the main function. Enter appropriate input so the output matches that under Desired Output.
# Define Function
def pizza(meat="cheese", veggies="onions"):
print("You would like a", meat, "pizza with", veggies)
# Get the User Input
my_meat = input("What meat would you like? ")
my_veggies = input("What veggie would you like? ")
# Call the Function
pizza(meat=my_meat, veggies=my_veggies)
desired output:
What meat would you like? cheese
What veggie would you like? onions
You would like a cheese pizza with onions
2) We want to generate 5 random numbers, but we need the random module to do so. Import the random module, so the code executes.
# Define main function
def main():
print("Your random numbers are:")
for i in range(5):
print(random.randint(1, 10))
# Call main function
main()
desired output:
Your random numbers are:
[x]
[x]
[x]
[x]
[x]
Answer:
Explanation:
The Python program has been adjusted. Now the pizza ordering function is called from the main() method and not as soon as the file is imported. Also, the random package has been imported so that the random.randint(1,10) can correctly create the 5 random numbers needed. The code has been tested and the output can be seen in the attached image below, correctly matching the desired output.
import random
def pizza(meat="cheese", veggies="onions"):
print("You would like a", meat, "pizza with", veggies)
def main():
# Get the User Input
my_meat = input("What meat would you like? ")
my_veggies = input("What veggie would you like? ")
# Call the Function
pizza(meat=my_meat, veggies=my_veggies)
print("Your random numbers are:")
for i in range(5):
print(random.randint(1, 10))
# Call main function
main()
Write program to input 4 numbers and print the maximum and minimum using math function (don't use if else).
please I need it.....
fast
Answer:
def main():
num1 = int(input("Type in a number: "))
num2 = int(input("Type in a number: "))
num3 = int(input("Type in a number: "))
num4 = int(input("Type in a number: "))
list1 = [num1, num2, num3, num4]
list1.sort()
print(f"The largest number is: {list1[-1]} The smallest number is: {list1[-len(list1)]}")
main()
Explanation:
hurry plz What module do you need to import in order to use a pseudo-random number in your game? random guesser guess randomizer
Answer:
import random
Explanation:
if it's python try import random
Answer:
ramdom C
Explanation:
The process of providing only the essentials and hiding the details is known as _____. a. algorithm b. data structure c. abstraction d. optimization
The process of providing only the essentials and hiding the details is known as abstraction.
What is abstraction?Abstraction in its main sense is a conceptual process wherein general rules and concepts are derived from the usage and classification of specific examples, literal ("real" or "concrete") signifiers, first principles, or other methods.
"An abstraction" is the outcome of this process—a concept that acts as a common noun for all subordinate concepts and connects any related concepts as a group, field, or category.
Conceptual abstractions may be formed by filtering the information content of a concept or an observable phenomenon, selecting only those aspects which are relevant for a particular purpose. For example, abstracting a leather soccer ball to the more general idea of a ball selects only the information on general ball attributes and behavior.
Therefore, The process of providing only the essentials and hiding the details is known as abstraction.
To learn more about abstraction, refer to the link:
https://brainly.com/question/23774067
#SPJ5
who dictates that a user can only be assigned to a particular role if it is already assigned to some other specified role and can be used to structure the implementation of the least privilege concept.
What are the advantages of using a database management system (DBMS) over using file-based data storage?
Answer:
Advantage of DBMS over file system
No redundant data: Redundancy removed by data normalization. No data duplication saves storage and improves access time.
Data Consistency and Integrity: As we discussed earlier the root cause of data inconsistency is data redundancy, since data normalization takes care of the data redundancy, data inconsistency also been taken care of as part of it
Data Security: It is easier to apply access constraints in database systems so that only authorized user is able to access the data. Each user has a different set of access thus data is secured from the issues such as identity theft, data leaks and misuse of data.
Privacy: Limited access means privacy of data.
Easy access to data – Database systems manages data in such a way so that the data is easily accessible with fast response times.
Easy recovery: Since database systems keeps the backup of data, it is easier to do a full recovery of data in case of a failure.
Flexible: Database systems are more flexible than file processing systems
Write a program named guess_number.py. Use NumPy to generate a random number between 1 and 100. Accept int input and ask user to guess number. Inform if high or low. Exit when entered number correct. Tell user how many tries it took to guess number.
Answer:
download the .txt file and change the file name to guess_number.py then run it in a python interpreter. I used Python 3.9.6 for this project and I used Visual Studio Code as my IDE.
Explanation:
The code has comments that tell you what is happening.
I hope this helped :) If it didn't please let me know what went wrong so I can fix it.
In a program named guess_number.py. Use NumPy to generate a random number between 1 and 100. Accept int input and ask the user to guess the number.
What are programming used for?The motive of programming is to discover a series of commands with the intention to automate the overall performance of a task (which may be as complicated as a running system) on a computer, regularly for fixing a given problem.
Import NumPy as np def main(): # Random variety Random Number = np.random.randint(1, 100) # A begin variable Start = Try.# This value is the handiest used to decide if the person has been known that the fee is excessive or low High Or Low Message Displayed Already = False # Amount of guesses that the person were given incorrectly. Guess Gotten Wrong 0 # The general quantity of guess AmountOfGuesses = 0 # Beginning of some time loop in order to maintain the software jogging till the person guesses the random variety print("The fee is excessive") High Or Low Message DisplayedAlready = True Elif RandomNumber <= forty nine and High OrLow MessageDisplayedAlready == False:print("The fee is low")
High Or Low Message Displayed Already = True.
AmountOfGuesses += print("Wrong! You have gotten " + str(GuessGottenWrong) + " guesses incorrect. main()Read more about the program :
https://brainly.com/question/1538272
#SPJ2
Discuss and illustrate the operation of the AND, OR, XOR and NOT gate of a Boolean logical operation giving examples of possible outcomes of 0 and 1 as input in a truth set tabular format.
Answer:
Use below picture as a starting point.
I have a Dell laptop and last night it said that it needed to repair it self and asked me to restart it. So I did but every time I turn it on it shuts itself down. I had a problem exactly like this before with my old computer, was not a Dell though, and I ended up having to have it recycled. This computer I have now is pretty new and I really don't want to have to buy a new computer. What should I do to fix this problem? Please help, I'm a college student almost ready to graduate and all of my classes are online. I'm starting to panic. Thanks for helping me figure this situation out.
The same thing happened with my HP laptop but my dad refresh the laptop before restating it worked
Ramjac Company wants to set up k independent file servers, each capable of running the company's intranet. Each server has average "uptime" of 98 percent. What must k be to achieve 99.999 percent probability that the intranet will be "up"?
Answer:
k = 3
Explanation:
K independent file servers
Average "uptime" of each server = 98%
To achieve 99.99% probability by the intranet
given that each server has an uptime = 98%
For the intranet to achieve 99.99% probability we have to choose more than 2 servers ( i.e. 3 servers ) incase any of the server goes down.
As each server posses an uptime of 98% it is almost impossible for all 3 servers to go down at the same time hence value of K = 3
It should be noted that the value of k to achieve 99.99 percent probability will be 3.
How to solve the probabilityFrom the information given, k is simply the independent file servers.
Also, the average uptime of each server is given as 98%. For the intranet to achieve 99.99% probability, it should be noted that more than 2 servers will be chosen.
In this case, it'll be impossible for the three servers to go down.
Learn more about probability on:
https://brainly.com/question/24756209
Create a list with 5 numbers and find the smallest and largest number in the list and also the sum and product of the numbers in the list, Additionally, find the sum and product of the largest and the smallest number.
Answer:
Explanation:
The following code is written in Java. It creates 5 random integers and saves them to a list called myList. Then it loops through that list and checks each one until the largest and smallest values are obtained. Finally, it uses these values to calculate the sums and products as requested. The program has been tested and the output can be seen in the attached image below.
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Random;
import java.util.Scanner;
class Brainly {
public static void main(String[] args) {
Random rand = new Random();
ArrayList<Integer> myList = new ArrayList<>();
for (int i = 0; i< 5; i++) {
int mynum = rand.nextInt(20);
myList.add(mynum);
}
int largest = myList.get(0);
int smallest = myList.get(0);
int sum = 0;
int product = 1;
int sumLargestandSmallest, productLargestandSmallest;
for (int x : myList) {
if (x > largest) {
largest = x;
}
if (x < smallest) {
smallest = x;
}
sum += x;
product *= x;
}
sumLargestandSmallest = largest + smallest;
productLargestandSmallest = largest * smallest;
System.out.println("List" + Arrays.toString(myList.toArray()));
System.out.println("Smallest: " + smallest);
System.out.println("Largest: " + largest);
System.out.println("Sum: " + sum);
System.out.println("Product: " + product);
System.out.println("Sum of Smallest and Largest: " + sumLargestandSmallest);
System.out.println("Product of Smallest and Largest: " + productLargestandSmallest);
}
}
Write the correct statements for the above logic and syntax errors in program below.
#include
using namespace std;
void main()
{
int count = 0, count1 = 0, count2 = 0, count3 = 0;
mark = -9;
while (mark != -9)
{
cout << "insert marks of students in your class, enter -9 to stop entering";
cin >> mark;
count++;
if (mark >= 0 && mark <= 60);
count1 = count1 + 1;
else if (mark >= 61 && mark <= 70);
count2 = count2 + 1;
else if (mark >= 71 && mark <= 100);
count3 = count3 + 1;
}
cout <<"Report of MTS3013 course" << endl;
cout <<"Mark" << count << endl << endl;
cout << "0-60" << "\t\t\t\t" << count1 << endl;
cout << "61-70" << "\t\t\t\t" << count2 << endl;
cout << "71-100" << "\t\t\t\t" << count3 << endl<< endl << endl;
cout << "End of program";
}
3 features of digital computer
Answer:
A typical digital computer system has four basic functional elements: (1) input-output equipment, (2) main memory, (3) control unit, and (4) arithmetic-logic unit. Any of a number of devices is used to enter data and program instructions into a computer and to gain access to the results of the processing operation.
Explanation:
Write a Python program that accepts a year written as a four-digit Arabic (ordinary) numeral and outputs the year written in Roman numerals.
Viết Chương trình nhập và xuất mảng 1 chiều số thực với n phần tử do người dùng nhập
Answer(Java):
import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
ArrayList<String> String = new ArrayList<String>();
Scanner myObj = new Scanner(System.in);
System.out.Print(Enter a number of times to add: );
String timesNumber = myObj.nextLine();
System.out.Print(Enter a number that will add to the list: );
String addNumber = myObj.nextLine();
int TimesNumber = Integer.parseInt(timesNumber);
int AddNumber = Integer.parseInt(addNumber);
for(i=0, i < AddNumber, i++) {
String.add(AddNumber);
}
}
}
What are the procedures use in installing a sound card
Answer:
Procedures to install a sound card.
There are two ways of doing this which can either be by manually installing it, or by installing it as a software.
For manual installation:
Step one: Get a compatible sound card
Step two: Locate an available card slot in the computer and attach the card
Step three: Make sure it is attached correctly
Step four: Place a screw into the back metal plate to hold the card in place.
Software installation:
Step one: Locate the Control Panel on the computer
Step two: Select "Hardware and Sound"
Step three: Select "Sound"
Step four: locate the playback tab and right click the listing for audio device
Step five: set as default and select "OK"
Presentation of the data abstracted from the database must take one of two forms: graphs and tabular forms. True False
Answer:
False.
Explanation:
There is also a third way of presenting data. Data can be presented in textual form, using paragraph structures. The other two are using graphs and tabular forms. Presenting data in a graph or pie chart gives a pictorial representation of the data, making the numbers easier to visualize and understand. Using tables also makes data presentation to be easily communicated. Text remains the method for explaining findings, outlining trends, and providing context, a table represents both quantitative and qualitative information, while a graph displays data for comparison.
Suppose that TCP's current estimated values for the round trip time (estimatedRTT) and deviation in the RTT (DevRTT) are 350 msec and 10 msec, respectively (see Section 3.5.3 for a discussion of these variables). Suppose that the next three measured values of the RTT are 220 msec, 260 msec, and 390 msec respectively.
(Compute TCP's new value of DevRTT, estimatedRTT, and the TCP timeout value after each of these three measured RTT values is obtained. Use the values of α = 0.125, and β = 0.25. Round your answers to two decimal places after leading zeros.)
What is the estimatedRTT after the first RTT?
Answer:
260
Explanation:
I hope it helps choose me the brainest
GENERATIONS OF
ACTIVITY 12
In tabular form differentiate the first four generations of computers.
which of the following component display the content of active cells
Answer:
The content of an active cell is shown in the formula bar
Explanation:
I hope it will help you
Output each floating-point value with two digits after the decimal point, which can be achieved by executing cout << fixed << setprecision(2); once before all other cout statements.(1) Prompt the user to enter five numbers, being five people's weights. Store the numbers in a vector of doubles. Output the vector's numbers on one line, each number followed by one space. Enter weight l: 236.0 Enter weight 2: 89.5 Enter weight 3: 142.0 Enter weight 4: 166.3 Enter weight 5: 93.0 You entered: 236.00 89.50 142.00 166.30 93.00 (2) Also output the total weight, by summing the vector's elements.(3) Also output the average of the vector's elements. (4) Also output the max vector element. EX Enter weight 1: 236.0 Enter weight 2: 89.5 Enter weight 3: 142.0 Enter weight 4: 166.3 Enter weight 5: 93.0 You entered: 236.00 89.50 142.00 166.30 93.00 Total weight: 726.80 Average weight: 145.36 Max weight: 236.00
IN C++
A. Create an abstract base class called Currency with two integer attributes, both of which are non-public. The int attributes will represent whole part (or currency note value) and fractional part (or currency coin value) such that 100 fractional parts equals 1 whole part.
B. Create one derived class - Money - with two additional non-public string attributes which will contain the name of the currency note (Dollar) and currency coin (Cent) respectively. DO NOT add these attributes to the base Currency class.
C. In your base Currency class, add public class (C++ students are allowed to use friend methods as long as a corresponding class method is defined as well) methods for the following, where appropriate:
Default Construction (i.e. no parameters passed)
Construction based on parameters for all attributes - create logical objects only, i.e. no negative value objects allowed
Copy Constructor and/or Assignment, as applicable to your programming language of choice
Destructor, as applicable to your programming language of choice
Setters and Getters for all attributes
Adding two objects of the same currency
Subtracting one object from another object of the same currency - the result should be logical, i.e. negative results are not allowed
Comparing two objects of the same currency for equality/inequality
Comparing two objects of the same currency to identify which object is larger or smaller
Print method to print details of a currency object
All of the above should be instance methods and not static.
The add and subtract as specified should manipulate the object on which they are invoked. It is allowed to have overloaded methods that create ane return new objects.
D. In your derived Money class, add new methods or override inherited methods as necessary, taking care that code should not be duplicated or duplication minimized. Think modular and reusable code.
E. Remember -
Do not define methods that take any decimal values as input in either the base or derived classes.
Only the print method(s) in the classes should print anything to console.
Throw String (or equivalent) exceptions from within the classes to ensure that invalid objects cannot be created.
F. In your main:
Declare a primitive array of 5 Currency references (for C++ programmers, array of 5 Currency pointers).
Ask the user for 5 decimal numbers to be input - for each of the inputs you will create one Money object to be stored in the array.
Once the array is filled, perform the following five operations:
Print the contents of the array of objects created in long form, i.e. if the user entered "2.85" for the first value, it should be printed as "2 Dollar 85 Cent".
Add the first Money object to the second and print the resulting value in long form as above.
Subtract the first Money object from the third and print the resulting value in long form as above.
Compare the first Money object to the fourth and print whether both objects are equal or not using long form for object values.
Compare the first Money object to the fifth and print which object value is greater than the other object value in long form.
All operations in the main should be performed on Currency objects demonstrating polymorphism.
Remember to handle exceptions appropriately.
There is no sample output - you are allowed to provide user interactivity as you see fit.
Answer:
I only do Design and Technology
sorry don't understand.
When describing a software lincense, what does the phrase "open source" mean?
Answer:
The phrase "Open Source" means that a program's source code is freely available and may be modified and redistributed.
Explanation:
Hope this helped :)
Write a program that creates a Date object, sets its elapsed time to 10000, 100000, 1000000, 10000000, 100000000, 1000000000, 10000000000, and 100000000000, and displays the date and time using the toString()
Answer:
Explanation:
The following Java program creates various Date objects for each one of the provided milliseconds in the question. Then it calls the toString() method on each one. The last two milliseconds were not included because as a long variable they are too big for the Date object to accept. The code has been tested and the output is shown in the image below.
import java.util.Date;
class Brainly {
public static void main(String[] args) {
Date date = new Date();
date.setTime(10000);
System.out.println(date.toString());
Date date2 = new Date();
date2.setTime(100000);
System.out.println(date2.toString());
Date date3 = new Date();
date3.setTime(1000000);
System.out.println(date3.toString());
Date date4 = new Date();
date4.setTime(10000000);
System.out.println(date4.toString());
Date date5 = new Date();
date5.setTime(100000000);
System.out.println(date5.toString());
Date date6 = new Date();
date6.setTime(1000000000);
System.out.println(date6.toString());
}
}
What is the SQL command to list the total sales by customer and by product, with subtotals by customer and a grand total for all product sales
Answer:
Please find the complete query and question in the attached file.
Explanation:
In this query, we use the select command in which we select the column that is "CUS_CODE, P_CODE" with the sum method that multiples the "SALE_UNITS * SALE_PRICE" values and use them as and group by the clause that stores all the values in the column that are "CUS_CODE, P_CODE WITH ROLLUP".