Answer:
Chrome, Edge, and Firefox.
Explanation:
Utilizing different browsers make sense depending upon websites that you are using. Not every site is optimized for one standard browser. Also, Microsoft has discontinued supporting their Internet Explorer browser. That means they no longer update, share security patches, or support it. Some websites or software works better with the Chrome browser, while it is not optimized for others. When looking at websites using Firefox, if the site isn't optimized for it, the site layout will not be easily read or used. Clicking on links on the browser can cause errors or a malfunction. A variety of coders, software authors or companies create sites or software using different code and algorithms. That is the basis of differences in site and software functionality.
This is a Java programWrite a method with the following header to format the integer with the specified width. public String format(int number, int width) The method returns a string for the number with one or more prefix 0s. The size of the string is the width within the range 1 to 10000inclusive. For example, format(34, 4) returns 0034 and format(34,5) returns 00034. If the number is longer than the width, the method returns the string representation for the number. For example, format(34, 1) returns 34. Assume that, the size of the string is the width within the range 1 to 10000 inclusive and the number is an integer -2147483648 to 2147483648 inclusive.Input 34 4Output 0034You must use this particular Driver classclass DriverMain{public static void main(String args[]){Scanner input = new Scanner(System.in);int num = Integer.parseInt(input.nextLine().trim());int width = Integer.parseInt(input.nextLine().trim());GW6_P5 gw6P5 = new GW6_P5();System.out.print(gw6P5.format(num,width));}
Answer:
Following are the code to this question:
import java.util.*;//import package
public class DriverMain//defining a class DriverMain
{
public static void main(String args[])//main method
{
int num,width;
Scanner input = new Scanner(System.in);//creating Scanner class fore user input
num = Integer.parseInt(input.nextLine().trim());//input value
width = Integer.parseInt(input.nextLine().trim());//input value
GW6_P5 gw6P5 = new GW6_P5();//creating base class object
System.out.print(gw6P5.format(num,width));//print method that calls base class format method
}
}
class GW6_P5 //defining base class GW6_P5
{
String format(int number, int width)//defining method format that takes two integer variable in its parameter
{
String s = ""+number;//defining s String variable that holdes integer value
int digitCount = 0;//defining integer variable
while(number!=0) //defining while loop to check value is not equal to 0
{
digitCount++;//incrementing the integer variable value
number/=10;//holding quotient value
}
if(width>digitCount)//defining if block that checks width value greather then digitCount value
{
for(int i=0;i<width-digitCount;i++)//defining for loop to add 0 in String variable
{
s = "0"+s;//add value
}
}
return s;//return String value
}
}
Output:
34
5
00034
Explanation:
In the given code, a class "DriverMain" is defined, and inside the class main method is defined that defines two integer variable "num and width", that uses the scanner class to input the value, and in the next step the "GW6_P5" class object is created that calls the format method and print its values.
In the class "GW6_P5", the format method is defined, that declared the string and integer variables, in the while loop it checks number value not equal to 0, and increments the number values, and in the for loop it adds the 0 in string value and return its value.
Complete the sentence.
If you wanted the best performance for a game that requires a powerful graphics processor and lots of memory, you
would run it on a
tablet
desktop
smartphone
Malcolm Movers charges a base rate of $200 per move plus $150 per hour and $2 per mile. Write a program named MoveEstimator that prompts a user for and accepts estimates for the number of hours for a job and the number of miles involved in the move and displays the total moving fee. For example, if 25 hours and 55 miles are input the output would be displayed as: For a move taking 25 hours and going 55 miles the estimate is $4,060.00
Answer:
import java.util.Scanner;
public class MoveEstimator
{
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
final int BASE_RATE = 200, RATE_PER_HOUR = 150, RATE_PER_MILE = 2;
int hours, miles;
double totalFee = 0.0;
System.out.print("Enter the number of hours for a job: ");
hours = input.nextInt();
System.out.print("Enter the number of miles: ");
miles = input.nextInt();
totalFee = BASE_RATE + (hours * RATE_PER_HOUR) + (miles * RATE_PER_MILE);
System.out.printf("For a move taking %d hours and going %d miles the estimate is $%.2f", hours, miles, totalFee);
}
}
Explanation:
*The code is in Java.
Create the Scanner object to be able to get input
Initialize the constant values using final keyword, BASE_RATE, RATE_PER_HOUR, RATE_PER_MILE
Declare the variables, hours, miles, totalFee
Ask the user to enter the hours and miles
Calculate the totalFee, add BASE_RATE, multiplication of hours and RATE_PER_HOUR, multiplication of miles and RATE_PER_MILE
Print the output as in required format
The program named MoveEstimator that prompts a user for and accepts estimates for the number of hours for a job and the number of miles involved in the move and displays the total moving fee is as follows:
x = int(input("number of hours for the job "))
y = int(input("number of miles involved "))
def MoveEstimator(x, y):
return 200 + 150*x + 2*y
print(MoveEstimator(x, y))
Code explanation:The first line of code used the variable, x to store the input of the hours for the jobThe second line of code is used to store the input of the number of miles travelled. Then, we define a function that accept the users inputs(argument) as variable x and y. Then return the mathematical operation to find the total moving fee.Finally, we call the function with a print statement.learn more on python code here: https://brainly.com/question/22841107
Irene wants to connect your smart phone wirelessly to her laptop in order to transfer images. which two images could she reasonably employee to connect these devices
Answer:
Your Phone: Enable Photo Sharing
Explanation:
On your Windows 10 PC, return to the Your Phone app. Click the Settings icon at the bottom of the window and turn on the switch under "Allow this app to show photos from my phone" if it’s not already enabled.
Pls awnser if awnser is wrong I will unmark brainliest
Answer: i think 1, 3, and 4
Explanation:
5. Played electronically by manipulating images on a television screen produced by a
computer program often emphasizing fast action
mi Yoko
tor of the "GAME BOY" and "Game and Watch hand held systems
Answer:
1) Video Games
2) Gunpei Yokoi
Explanation:
1) Video games are electronic games played off electronic consoles which are connected to Visual Display Units such as desktops or laptops and flat=screen televisions. The games are created in such a way that images can be manipulated using a pad and controlled by the computer program.
2) Gunpei Yokoi person who made the "game boy" and "game and watch" hand-held games.
He was recognized posthumously for his achievements in 2003 when he was offered a lifetime achievement award from the international game developers association.
Cheers
Write a C# program named ProjectedRaises that includes a named constant representing next year’s anticipated 4 percent raise for each employee in a company. Also declare variables to represent the current salaries for three employees. Assign values to the variables, and display, with explanatory text, next year’s salary for each employee. Note: For final submission assign the following current salaries for the employees: 25000 for employee 1, 38000 for employee 2, 51000 for employee 3. Then next year's salary for employee 1 would be displayed as: Next year's salary for the first employee will be $26,000.00
Answer:
using System;
class ProjectedRaises {
static void Main() {
const float raise = 0.04f;
double salary1 = 0.0f,salary2 = 0.0f,salary3 = 0.0f;
Console.WriteLine("Current salary for each employee: ");
salary1 = Single.Parse(Console.ReadLine());
salary2 = Single.Parse(Console.ReadLine());
salary3 = Single.Parse(Console.ReadLine());
salary1 = salary1 + raise * salary1;
salary2 = salary2 + raise * salary2;
salary3 = salary3 + raise * salary3;
Console.WriteLine("Next year salary for the employees are: ");
Console.WriteLine(Math.Round(salary1));
Console.WriteLine(Math.Round(salary2));
Console.WriteLine(Math.Round(salary3));
}
}
Explanation:
This declares and initializes variable raise as a float constant
const float raise = 0.04f;
This declares the salary of each employee as double
double salary1 = 0.0f,salary2 = 0.0f,salary3 = 0.0f;
This prompts the user for the salaries of the employee
Console.WriteLine("Current salary for each employee: ");
The next three lines get the salary of the employees
salary1 = Single.Parse(Console.ReadLine());
salary2 = Single.Parse(Console.ReadLine());
salary3 = Single.Parse(Console.ReadLine());
The next three lines calculate the new salaries of the employees
salary1 = salary1 + raise * salary1;
salary2 = salary2 + raise * salary2;
salary3 = salary3 + raise * salary3;
This prints the header
Console.WriteLine("Next year salary for the employees are: ");
The next three lines print the new salaries of the employees
Console.WriteLine(Math.Round(salary1));
Console.WriteLine(Math.Round(salary2));
Console.WriteLine(Math.Round(salary3));
A common programming operation is to swap or exchange the values of two variables. If the value of x is currently 19 and the value of y is 42, swapping them will make x into 42 and y into 19. Write a program named Swap.java that allows the user to enter two int values. The program should store those values into variables and then swap the variables. Print the values of both variables before and after the swap. You will receive full credit as long as your solution works, but try to do this using as few variables as possible
Answer:
import java.util.Scanner;
public class Swap
{
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int x, y, t;
System.out.print("Enter the first variable: ");
x = input.nextInt();
System.out.print("Enter the second variable: ");
y = input.nextInt();
System.out.printf("Values before the swap -> x = %d, y = %d\n", x, y);
t = x;
x = y;
y = t;
System.out.printf("Values after the swap -> x = %d, y = %d\n", x, y);
}
}
Explanation:
Import the Scanner class
Create a Scanner object to be able to get input from the user
Declare the variables, x, y, and t - the variable t will be used as temporary variable that will hold the value of x
Ask the user to enter the first and second variables
Print the values before swap
Assign the value of x to the t
Assign the value of y to the x (Now, x will have the value of y)
Assign the value of the t to the y (Since t holds the value of x, y will have the value of x)
Print the values after the swap
What are some options available in the Write & Insert Fields group? Check all that apply.
O Start Mail Merge
O Highlight Merge Fields
O Edit Recipient List
O Address Block
O Greeting Line
O Rules
Answer:
Highlight Merge Fields
Address Block
Greeting Line
Rules
Explanation:
Microsoft Word refers to a word processing software application or program developed by Microsoft Inc. to enable its users type, format and save text-based documents.
A Mail Merge is a Microsoft Word feature that avails end users the ability to import data from other Microsoft applications such as Microsoft Access and Excel. Thus, an end user can use Mail Merge to create multiple documents (personalized letters and e-mails) at once and send to all individuals in a database query or table.
Hence, Mail Merge is a Microsoft Word feature that avails users the ability to insert fields from a Microsoft Access database into multiple copies of a Word document.
Some of the options available in the Write & Insert Fields group of Mail Merge are;
I. Highlight Merge Fields.
II. Address Block.
III. Greeting Line.
IV. Rules.
Write a program in your favorite language (e.g., C, Java, C , etc.) to convert max. 32 bit numbers from binary to decimal. The user should type in an unsigned binary number. The program should print the decimal equivalent. You should write a program from scratch that performs the conversion, please do not use built in functions. Please provide a screenshot of your program running on these values: 111011012 110000110011110101110101011101012 Please also include your source code together with your answers to assignment questions.
Answer:
In Python:
bin = int(input("Binary Number: "))
num = str(bin)
dec = 0
for i in range(len(num)):
dec = dec + int(num[i]) * 2**int(len(num)-i-1)
print("Decimal Equivalent: "+str(dec))
Explanation:
Note that the program assumes that the user input will be valid. So, error check was done in the program
This line gets the binary number from the user
bin = int(input("Binary Number: "))
This converts the inputted number to string
num = str(bin)
This initializes decimal number to 0
dec = 0
This iterates through the string number
for i in range(len(num)):
This converts the number to decimal
dec = dec + int(num[i]) * 2**int(len(num)-i-1)
This prints the result of the conversion
print("Decimal Equivalent: "+str(dec))
See attachment for screenshots
The more employees can do, the less they have to be managed by supervisors.
Please select the best answer from the choices provided
T
F
Answer:
True
Explanation:
What category of software makes it possible to run other programs on the computer?
Select one:
a. The Controller
b. The Applications
c. System Software
d. Programming Tools
Answer:
C
Explanation:
Which command will provide us with a list of the available internal commands (commands that are part of Command Prompt, such as CD and DIR - not IPCONFIG or NETSTAT) of Command Prompt?
Answer: $help
Explanation:
Not sure which terminal you are using, but "help" in the terminal outputs available internal commands.
what do mean by cpu? example
Explanation:
The main computer case containing the central components of a personal computer is CPU.
The central processing unit (CPU) can be defined as the brain of the computer, it also takes the raw data and turns it into information.
An analogue sensor has a bandwidth which extends from very low frequencies up to a maximum of 14.5 kHz. Using the Sampling Theorem, what is the minimum sampling rate (number of samples per second) required to convert the sensor signal into a digital representation?
If each sample is now quantised into 2048 levels, what will be the resulting transmitted bitrate in kbps?
Give your answer in scientific notation to 1 decimal place.
Hint: you firstly need to determine the number of bits per sample that produces 2048 quantisation levels
Answer:
3.2*10^5
Explanation:
By Nyquist's theorem we must have 2*14.5kHz=29kHz so 29,000 samples per second. 2048=2^11 so we have 11 bits per sample. Finally we have 29000*11 bits per second (bps) =319000=3.2 * 10^5
In this exercise we want to know how many bits will be transmitted between the two intelligences, so we have that:
[tex]3.2*10^5 bits[/tex]
What is the Nyquist's theorem?According to the theorem, the reconstructed signal will be equivalent to the original signal, respecting the condition that the original signal does not contain frequencies above or above this limit. This condition is called the Nyquist Criterion, or sometimes the Rahab Condition.
in this way we have:
[tex]2*14.5kHz=29kHz \\2048=2^11 =11 bits \\ 29000*11 =319000=3.2 * 10^5[/tex]
See more about bits at brainly.com/question/2545808
Pls awnser right awnsers only
Answer:
2, 4, and 5
Explanation:
Select all the correct answers. Which two statements are true about an OS? translates the user's instructions into binary to get the desired output needs to be compulsorily installed manually after purchasing the hardware is responsible for memory and device management delegates the booting process to other devices is responsible for system security Reset Next
Answer:
C. is responsible for memory and device management.
E. is responsible for system security.
Explanation:
An operating system platform is a system software pre-installed on a computing device to manage or control software application, computer hardware and user processes.
This ultimately implies that, an operating system (OS) is essentially an interface between the computer’s hardware and all the software applications (programs) running on it.
Some examples of an operating system are QNX, Linux, OpenVMS, MacOS, Microsoft windows, IBM, Solaris, VM, Ubuntu, etc.
The two statements which are true about an operating system (OS) are;
I. It's responsible for memory and device management. The operating system (OS) ensures proper allocation of memory to processes and manages all the input/output devices that are connected to the computer.
II. It's responsible for system security. The operating system (OS) makes sure the data integrity of a computer system isn't compromised i.e determining whether or not a request is to be processed through an authentication process.
Is this right ? Please helppppp 0111111110101011010111000010101011101010110010110101010110101110
How many nibbles are in the bit string? 5 nibbles
I
How many Bytes are in the bit string? 10 bytes
What is the bit size name for this bit string? 15/
Answer: 4054
Explanation:
i LEARND IT
Answer:
0111111110101011010111000010101011101010110010110101010110101110
How many nibbles are in the bit string? 16 nibbles
How many Bytes are in the bit string? 8 bytes
What is the bit size name for this bit string? 64
a customer calls complaining their laptop wont start what should I say
Answer:
tell them to bring there laptop to you so you can explain how to get them out of situations like those. Or maybe do a video call so the person can show you whats going on and you can take it on from there guiding her on how to fix it...
Explanation:
17. Select the correct answer.
Which printing technique involves working on precise codes that are encoded and stored in a storage medium?
A.
computer numerical control
B.
electrostatic printing
C.
emboss printing
D.
offset printing
E.
gravure printing
Answer:
The right choice is option A (Computer numerical control).
Explanation:
A way to consolidate machine equipment monitoring by using programming implemented throughout the personal computer systems intimately familiar with that technology would be readily accessible. This would be widely utilized in the manufacture of thermoplastic design as well as manufacturing components.Any other solutions just shouldn't apply to the above case. So the above is the appropriate solution.
import java.util.ArrayList;
import java.util.List;
/**
* Fix the problem in the following code by changing the Point class only,
* without touching the code in main(). Make only the necessary changes.
*/
public class PointTest {
static final class Point {
private double x, y;
List points = new ArrayList<>();
Point(double x, double y) {
this.x = x;
this.y = y;
}
}
public static void main(final String[] args) {
List pointList = new ArrayList<>();
pointList.add(new Point(1, 2));
pointList.add(new Point(3, 4));
System.out.println(pointList.size());
// remove the second Point
pointList.remove(new Point(3, 4));
System.out.println(pointList.size());
// Not removed!
}
}
Answer:
Explanation:
The following code was fixed but it is impossible to fix the entirety of the code without adjusting the Main method as well. This is because the information is being saved in an ArrayList that is saved within the main method. This means that either we need to move the Arraylist outside of the main method or adjust something inside the main method as well to make the code run. In this iteration, I have added an IF statement to the Point method so that it deletes a point if it is being added for a second time. In order to accomplish this, I had to add an extra argument when calling the Point Method in the Main method which would be the ArrayList in which the information is saved.
import java.util.ArrayList;
import java.util.List;
class PointTest {
static final class Point {
private double x, y;
Point(double x, double y, List<Point> points) {
this.x = x;
this.y = y;
for (int i = 0; i < points.size(); i = i+1) {
if ((points.get(i).x == x) && (points.get(i).y == y)) {
points.remove(i);
}
}
}
}
public static void main(final String[] args) {
List<Point> pointList = new ArrayList<>();
pointList.add(new Point(1, 2, pointList));
pointList.add(new Point(3, 4, pointList));
System.out.println(pointList.size());
// remove the second Point
pointList.remove(new Point(3, 4, pointList));
System.out.println(pointList.size());
// REMOVED!!!!!
}
}
5. Select the correct answer.
Henry uploaded the photos of his birthday to a cloud storage system. He feels that it’s a safe option for data storage. His friend suggested that there may be a disadvantage to cloud storage. Which disadvantage is Henry’s friend referring to?
A.
The owner may not be able to delete the data after the upload.
B.
The file format of the images may be corrupted.
C.
The service can sell the data without notifying the owner.
D.
People can alter the data without notifying the owner.
E.
The data is not under the owner’s direct control.
Answer: E. The data is not under the owner’s direct control.
Explanation:
A massive disadvantage to cloud storage is that the data stored is ot under the direct control of the person uploading. They first have to access the service and that service is owned by the company offering the cloud storage.
If for any reason the company decides not to give access (depending on local laws), or if the company suffers a problem that affects its ability to offer the service, the person who uploaded could lose access to their data.
Suppose the following sequence of bits arrives over a link:
11010111110101001111111011001111110
Show the resulting frame after any stuffed bits have been removed. Indicate any errors that might have been introduced into the frame.
Answer:
ok
Explanation:
(Python)
Summary: Given integer values for red, green, and blue, subtract the gray from each value.
Computers represent color by combining the sub-colors red, green, and blue (rgb). Each sub-color's value can range from 0 to 255. Thus (255, 0, 0) is bright red, (130, 0, 130) is a medium purple, (0, 0, 0) is black, (255, 255, 255) is white, and (40, 40, 40) is a dark gray. (130, 50, 130) is a faded purple, due to the (50, 50, 50) gray part. (In other words, equal amounts of red, green, blue yield gray).
Given values for red, green, and blue, remove the gray part.
Ex: If the input is:
130
50
130
the output is:
80 0 80
Find the smallest value, and then subtract it from all three values, thus removing the gray.
r=int(input("Enter the red value: "))
g=int(input("Enter the green value: "))
b=int(input("Enter the blue value: "))
m=min([r,g,b])
print(str(r-m)+" "+str(g-m)+" "+str(b-m))
I wrote my code in python 3.8. I hope this helps
Write a piece of codes that asks the user to enter a month (an integer), a day (another integer), and a two-digit year. The program should then determine whether the month times the day is equal to the year. If so, it should display a message saying the date is magic. Otherwise, it should display a message saying the date is not magic.
#include
using namespace std;
int main()
{
int day;
int month;
int year;
cout<<"enter year"<
cin>>year;
cout<<"enter day"<
cin>>day;
cout<<"enter month"<
cin>>month;
//programology..
if(month*day==year)
{
cout<<"its magic programology year"<
}
else
{
cout<<"its not magic year"<
}
}
Answer:
Follows are the code to this question:
#include <iostream>//header file
using namespace std;
int main()//main method
{
int day,month,year;//defining integer variable
cout<<"please enter last two digit of the year: "; //print message
cin>>year;//input year value
cout<<"enter day: "; //print message
cin>>day;//input day value
cout<<"enter month: ";//print message
cin>>month;//print month message
if(month*day==year)//check magic date condition
{
cout<<"its magic programology year";//print message
}
else
{
cout<<"its not magic year";//print message
}
return 0;
}
Output:
please enter last two digit of the year: 98
enter day: 14
enter month: 7
its magic programology year
Explanation:
In the given code, three integer variable "day, month, and year" is declared, that uses the input method "cin" to input the value from the user-end.
In the next step, an if block statement is used that check month and day value multiple is equal to year value, if the condition is true it will print "magic programology year" otherwise it will print "not the magic year".
Which methods will remove filters? Check all that apply.
A. In the navigation icons area, click Remove Filter.
B. In the Home Tab, in the Sort & Filter group, click Cancel.
C. On the File tab, click Save Object As, and save the table.
D. On the Home tab, in the Sort & Filter group, click Remove Filter.
E. Click the drop-down menu in the filtered column, then click Clear Filter.
F. In the Record Navigation bar, click the Filter warning, and unclick Filter.
Answer:
The last three options are the correct ones
Explanation:
Answer:
Not sure, but maybe DEF
Explanation:
16. Select the correct answer.
Which printer translates commands from a computer to draw lines on paper using several automated pens?
A.
dye-sublimation printer
B.
plotter
C.
laser printer
D.
inkjet printer
E.
photo printe
Answer: Plotter-- B
Explanation:
A Plotter is sophisticated printer that get commands from a computer and interprets them to draw high quality lines or vector graphics on paper rather than dots using one or several automated pens. This makes them useful in the area of CAD , architecture drawings and engineering designs. The types of plotters we have include Drum Plotters, Flat Bed Plotters and Ink Jet Plotters.
The correct option is B. Plotter.
The following information should be considered:
A Plotter is sophisticated printer that received commands from a computer and interprets them to draw high quality lines or vector graphics on paper instead than dots using one or several automated pens. This makes them useful in the area of CAD , architecture drawings and engineering designs. The types of plotters include Drum Plotters, Flat Bed Plotters and Ink Jet Plotters.Learn more: brainly.com/question/17429689
list four devices associated with video conferencing
Answer:
Video camera
2) Microphone
3) Speakers on the device being used.
4) Internet connection
Explanation:
pls mark brainliest
RAM memory is intended?
Answer:
RAM is a short abbreviation for Random Access Memory. It is the physical working memory used by your PC to temporarily store computer data. Your PC stores all open applications, files, and any other data into RAM for quick access. The more RAM you have installed, the more programs you can run at the same time.
Despite all of the trouble that Percy and his friends are encountering, why do you think he continues on his quest? What does that say about his character?
Answer:
To be like his dad maybe I don't a 100%