Diagonal pliers are best for removing stapels
Write a program that performs the following tasks: Display a friendly greeting to the user Prompt the user for the value to convert (a String) Accept that String Prompt the user for the value of the initial base (an integer) Accept that integer Prompt the user for the desired base of the output (an integer) Accept that integer If the String is not a legal expression of a number in the initial base, display an error message and exit the program. Convert the value represented by the String in the initial base to the desired base. Display the result.
Explanation:
import java.util.Scanner;
import java.math.BigInteger;
public class Main
{
private int x;
public static boolean isValidInteger(String theValue, int theBase)
{
BigInteger number = new BigInteger(theValue,theBase);
if(theValue.equals(number.toString(theBase)))
{
return true;
}
else
return false;
}
public static String convertInteger(String theValue, int initialBase, int finalBase)
{
boolean valid=isValidInteger(theValue,initialBase);
if(valid==true)
{
BigInteger number = new BigInteger(theValue);
return(number.toString(finalBase));
}
else
return("String not in initial base");
}
public static void main(String[] args)
{
System.out.println("Welcome");
String value;
int ibase, dbase;
if(args.length==0)
{
Scanner S = new Scanner(System.in);
System.out.println("Enter Value to be converted :: ");
value = S.nextLine();
System.out.println("Enter initial base :: ");
ibase = S.nextInt();
System.out.println("Enter desired base :: ");
dbase = S.nextInt();
}
else
{
value=args[0];
ibase=Integer.parseInt(args[1]);
dbase=Integer.parseInt(args[2]);
}
System.out.println("Change base "+convertInteger(value,ibase,dbase));
}
}
Output
What will be the result from running the following program? print grades print 92 print 80print total print 92+80
Answer:
Grades
92
80
Total
92 + 80
Explanation:
When utilizing quotations, you enable to code to print what wrote, as it is. So, instead of adding the 92 + 80, it's printed out.
I hope this helped!
Good luck <3
How has technology influenced space exploration?
Answer:
One of the biggest benefits of machine learning when it comes to space exploration is that programs can sift through the available data more easily than humans, which increases the chance of finding planets just by looking at datasets. It's even thought that AI could be instrumental in locating extra-terrestrial life.
Explanation:
Discuss the main characteristics of the database approach and how it differs from traditional file systems.
The database system allows the creation of a single depository of information, which is updated periodically and which can be used simultaneously by many users, since this type of system allows the effective sharing of all data stored in its depository . In addition, this is a secure system and is very difficult to break into. This is because of the efficiency of the software used to maintain it. However, the use of these softwares can be a little complicated for users, in addition to requiring a high economic cost to obtain them.
The traditional file system, in turn, each user must obtain their own file related to the application they want to run. This may seem dull in comparison to the database, but it is advantageous as it does not require any spending on software, as it is simple and there are several cheap and efficient tools and editors on the market. However, this system is not so safe, it can cause isolation of data and even data inconsistency, which disrupts the entire system.
_______tools enable people to connect and exchange ideas.A) Affective computing. B) Social media. C) Debugging D) Computer forensics.
Answer:
B) Social media.
Explanation:
Social media is well, a media, that allows you to share things with people and have discussions.
Proper numeric keyboarding technique includes all of these techniques except
O keeping your wrist straight
O resting your fingers gently on the home keys
O looking at the keys
O pressing the keys squarely in the center
Answer: Its the 1st choice, 2nd choice, and the final one is the 4th one. (NOT the third answer choice)
Explanation: (I just took the test)... Hopefully this helps and good luck.
How many pins are in the power supply connector that is typically used on most motherboards today?
Answer: 4 pins
Explanation:
Today technology is based in Science and engineering, earlier it was based on
__________ _____-_____.
Answer:
Technical know-how
Explanation:
When does the VB.NET programming environment start to operate?
A. once a VB.NET project is compiled
B. once a VB.NET project is created in the Microsoft Visual Studio environment
C. once a VB.NET project is debugged
D. once a VB.NET project folder is opened
E. All of the above are correct
Answer:
B. once a VB.NET project is created in the Microsoft Visual Studio environment.
Explanation:
Visual Basic . Net is a programming language which is used to run complex software and projects. The VB projects which are created in Microsoft Visual Studio are run by console application. These computer applications run complex and technical software.
Students who respond promptly to e-mails are following which netiquette rule?
A. keeping content appropriate
B. assessing an online environment
C. respecting everyone’s time
D. practicing ethical behaviors
Answer:
respecting everyone's time
Explanation:
they don't make people wait for a response
What makes Java platform independent?
Answer:
Java it is the use of Byte code that makes it platform independent.
Explanation:
Java platform independent language allows its the end users to access they source code and other language automatically,its a human readable language.
Java is created in the James Gosling at the sun micro systems,and java is an open source programming language, generally the people refer the java because its source connections.Java code may be use sequence of machine that can be use executed by the directly CPU,and all the program in java are compiled by java c.Java is an independent platform and variety of methods, its object oriented language, and java is study platform.Java program are compiled into byte code and that byte code is platform independent, and they machine execute the byte code the java virtual machine.Java is the platform independent because it does not depend on the type of platform,and the virtual machine also interpret the representations.Java compiler is the .class file or the byte code and the machine native code,java is that depend on java virtual machine.Java is does not required any licence to the run and they also reliable platform to work on.What do you think is the single greatest physical threat to information systems? Fire? Hurricanes? Sabotage? Terrorism? Something else? Discuss this question and provide support for your answer.
Answer:
The single greatest physical threat to information systems is:
Sabotage
Explanation:
Sabotage describes the efforts of internal persons to ensure that a system does not operate as intended or is destroyed. Among the threats to information systems, this is the greatest. The problem with sabotage is that the operators are internal, they know the system very well. They understand the weak points and the strengths of the system. They are internal terrorists to any information system. These internal saboteurs are capable of using any means to achieve their purpose. Therefore, it is necessary to scrutinize employees from time to time to discover internal risks.
5. Which one of the following best defines a network server?
O A A type of network system that provides resources to network clients
B A type of system where all devices on the network are clients
C A type of network with one server and multiple clients
O D A type of device that connects all all other network devices together
Answer:
i thank it is B for the answer
Web pages are accessed through a software program called a _____.A) web crawlerB) web browserC) web serverD) web app drawer
Answer: B) web browser
Explanation: A web browser may be explained as a software program or application available on various operating systems such as windows, Mac, Android, iOS among others. This program acts as an interface between information available on websites or pages and users. This application takes a specified uniform resource locator or web address as input and outputs the information available on a web page. Google Chrome, Internet Explorer, Microsoft edge, opera mini, Safari, Firefox and so on.
How can you say that a computer is a versatile machine?
Answer:
A computer is a versatile machine because is used for many purposes,a modern day computer can run multiple data at once making a fast and efficient machine very durable and effective for our use in all areas of life.
Which of the following statement about device formatting is FALSE?
A) Device manufacturers store the initial file-system data structures in the device.
B) Operating system can create multiple partitions with in a single device.
C) Volume creation is implicit when a file system is placed directly within a partition.
D) Not every partition contains a copy of the operating systems.
Answer:
The correct option is;
A) Device manufacturers store the initial file-system data structures in the device.
Explanation:
Before a storage device can be used for data storage, it is required to prepare the device for use and to make the device to become visible to the operating system by formatting of the device
New storage devices are not pre-formatted or come with a ready to use file system as there are different file systems specifically designed for particular operating systems or operating environment.
Formatting creates partitions, makes the hard drive visible to the operating system and creates a file system that is new such that the storage device can be used for storing files.
Recursion is a natural use for a _____ (stack or queue)
Answer:
Stack
Explanation:
Any function that call itself can be regarded as recursive function, it should be noted that Recursion is a natural use for a stack, especially in the area of book keeping.
Recursion is very important because some of problems are usually recursive in nature such as Graph and others, and when dealing with recursion , only base and recursive case is needed to be defined.
Some areas where recursion is used are in sorting and searching.
One of the simplest and best known polyalphabetic ciphers is _________ cipher. In this scheme, the set of related monoalphabetic substitution rules consists of the 26 Caesar ciphers with shifts of 0 through 25. Each cipher is denoted by a key letter which is the ciphertext letter that substitutes for the plaintext letter a.
Answer:
Vigenere
Explanation:
Vigenere Cipher is an encryption method of alphabetic symbols that utilizes an easy form of polyalphabetic exchange which is carried out through Vigenere table.
Hence, in this situation, the correct answer is VIGENERE Cipher because it is the form of cipher whereby the set of related monoalphabetic substitution rules comprises of the 26 Caesar ciphers with shifts of 0 through 25. Each cipher is indicated by a key letter which is the ciphertext letter that substitutes for the plaintext letter.
How many bits are reserved for the Transmission Control Protocol (TCP) flags?
Egyptian hieroglyphs were part of a writing system used by the ancient Egyptians. What type of graphic design elements did they contain?
Answer:
Logographic, syllabic, and alphabetic elements. I think thts what u were asking for?
Explanation:
A general rule for printing is to use _____ fonts for headlines and serif fonts for body text. sans-serif fantasy cursive monospace
Answer:
sans-serif
Explanation:
Fonts can be defined as a graphical representation of texts which includes a collection of characters such as numbers, letters, symbols etc in various size, color, typeface, design or weight.
A general rule for printing is to use sans-serif fonts for headlines and serif fonts for body text. This ultimately implies that, for any printed work such as novels, books, newspapers etc, it is a general rule for a printer to use sans-serif fonts for headlines and serif fonts for body text in order to enhance readability.
Also, it can be reversed in some instances by using a serif font for headlines and a sans-serif font for the body of a text.
What device to use when downloading a large file?
if you exit a program without saving the document on which you are working, or the computer accidentally losses electrical power, the document will be lost
C++ code pls write the code
Answer:
Following are the code to this question:
#include<iostream>//defining header file
using namespace std;
class vec//defining class vec
{
int x, y, z; //defining integer varaible x, y, z
public: // using public access specifier
vec() //defining default constructor
{
x = 0; //assign value 0 in x variable
y = 0; //assign value 0 in y variable
z = 0;//assign value 0 in z variable
}
vec(int a, int b , int c) //defining parameterized constructor vec
{
x = a; //assign value a in x variable
y = b; //assign value b in y variable
z = c;//assign value c in z variable
}
void printVec() //defining a method printVec
{
cout<<x<<","<<y<<","<<z<<endl; //use print method to print integer variable value
}
//code
vec& operator=(const vec& ob) //defining operator method that create object "ob" in parameter
{
x=ob.x; //use ob to hold x variable value
y=ob.y;//use ob to hold y variable value
z=ob.z;//use ob to hold z variable value
return *this;//using this keyword to return value
}
};
int main()//defining main method
{
vec v(1,2,3);//calling parameterized constructor
vec v2; //creating class object to call method
v2=v; //creatring reference of object
v2.printVec(); //call method printVec
return 0;
}
Output:
1, 2, 3
Explanation:
In the above-given code part, a method "operator" is defined, that accepts an object or we can say that it is a reference of the class "ob", which is a constant type. Inside the method, the object is used to store the integer variable value in its variable and use the return keyword with this point keyword to return its value.
paragraph on how atms work
$8.25/hour; _____$/year, when working 40 hours a week.
Clicking and double-clicking are two of the five
Answer:
The correct answer is events
What benefits does the Domain Name System (DNS) provide? Check all that apply.
Network Address Translation (NAT)
Ease of address memorization
Assigning Internet Protocol (IP) addresses
Easy mapping to a new Internet Protocol (IP) address
Answer:
Option C (Assigning Internet Protocol (IP) addresses) is the correct choice.
Explanation:
DNS is a centralized process for resolving as well as continuing to give IP addresses for something like a specified domain name, a method that allows you to search a site via your web browsers whenever you tab or switch on any web server (Internet Explorer, chrome, respectively.).This helps everyone to still have throughput mostly on the network although one of the databases becomes offline for maintenance.All other options are not relevant to the situation in question. It is the right answer to all of the above.
Answer:the TCP
Explanation:
Write a program that prompts the user to input an integer that represents the money in cents. The program will the calculate the smallest combination of coins that the user has. For example, 42 cents is 1 quarter, 1 dime, 1 nickel, and 2 pennies. Similarly, 49 cents is 1 quarter, 2 dimes, and 4 pennies
Answer:
The program in Python is as follows:
cents = int(input("Cent: "))
quarter = int(cents/25)
if quarter > 1:
print(str(quarter)+" quarters")
elif quarter == 1:
print(str(quarter)+" quarter")
cents = cents - quarter * 25
dime = int(cents/10)
if dime>1:
print(str(dime)+" dimes")
elif dime == 1:
print(str(dime)+" dime")
cents = cents - dime * 10
nickel = int(cents/5)
if nickel > 1:
print(str(nickel)+" nickels")
elif nickel == 1:
print(str(nickel)+" nickel")
penny = cents - nickel * 5
if penny > 1:
print(str(penny)+" pennies")
elif penny == 1:
print(str(penny)+" penny")
Explanation:
This line prompts user for input in cents
cents = int(input("Cent: "))
This line calculates the number of quarters in the input amount
quarter = int(cents/25)
This following if statement prints the calculated quarters
if quarter > 1:
print(str(quarter)+" quarters")
elif quarter == 1:
print(str(quarter)+" quarter")
cents = cents - quarter * 25
This line calculates the number of dime in the input amount
dime = int(cents/10)
This following if statement prints the calculated dime
if dime>1:
print(str(dime)+" dimes")
elif dime == 1:
print(str(dime)+" dime")
cents = cents - dime * 10
This line calculates the number of nickels in the input amount
nickel = int(cents/5)
This following if statement prints the calculated nickels
if nickel > 1:
print(str(nickel)+" nickels")
elif nickel == 1:
print(str(nickel)+" nickel")
This line calculates the number of pennies in the input amount
penny = cents - nickel * 5
This following if statement prints the calculated pennies
if penny > 1:
print(str(penny)+" pennies")
elif penny == 1:
print(str(penny)+" penny")
An ISP is considering adding additional redundant connections to its network. Which of the following best describes why the company would choose to do so?
Answer:
Redundant networks are generally more reliable.
Explanation:
The complete question is in this brainly link;
https://brainly.com/question/18302186
This is based on knowing the importance of a redundant network.
C. Redundant networks are more reliable
A redundant network is one that helps to increase the reliability of a computer system. Now, this is possible because the more critical the ISP NETWORK is, the more important it will be for the time it takes to resolve from a fault would be reduced. This implies that, by adding one redundant device to their connection, the time it will take to resolve from a fault would be drastically reduced and this will lead to a far more reliable system.Thus, redundant networks are more reliable.
Read more at; brainly.com/question/17878589