Answer:
True
Explanation:
1. Which of the following is not the name of a Java wrapper class from the Java API?
A. Byte
B. Int
C. Long
D. Boolean*
2. Which of the following statements will cause a compiler error?
A. Integer i = new integer ( ) ;*
B. Integer j = new integer ("5") ;
C. Integer k = Integer.valueOf ("5");
D. int m = Integer.pareseInt ("5");
3. If variables j and k refer to objects of type Double and j . compareTo (k) returns a value of 1, which of the following is true?
A. The double value held in j is less than the value held inside k.
B. The difference between values held in j and k is 1.*
C. The double values held inside j and k are both positive.
D. The double value held inside j is greater than the value held inside k.
4. What is a radix as used in the method parseInt (String s, int radix) from the integer class?
A. A numeric base 2 such as for binary or 16 for hexadecimal.
B. The number of characters in the string that represent integers.*
C. The Unicode character code to be used when parsing the string.
D. The number of times the string should be repeated before being converted to an int.
5. Which of the following is a static method of the integer class?
A. intValue ( )
B. parseInt ( )
C. toString ( )*
D. compareTo ( )
6. Which of the following statements will cause a compiler error?
A. Double a = new Double (10.6) + 3;
B. Integer b = 0;*
C. Double c = 0;
D. int d = new Integer (7) ;
7. Which of the following is not an example of autoboxing?
A. Boolean a = false
B. Integer b = new integer (9);
C. double x = 3.0;
Double c = x;
D. Character d = ‘2’;*
8. What is the result of the following code fragment?
BigInteger a = new BigInteger (“10”);
BigInteger b = new BigInteger (“25”);
a . multiply (b);
a . add (b);
System.out.println (a);
A. 10
B. 35
C. 250 *
D. 275
9. What is the name of the BigInteger method that will calculate the remainder of division by another BigInteger?
A. modulo ( )
B. modulus ( )*
C. divisor ( )
D. remainder ( )
the ones marked in asterisks are my answers, I'm not totally sure if they're right and would like someone to double check for me
Answer:
1. Which of the following is not the name of a Java wrapper class from the Java API?
A. Byte
B. Int
C. Long
D. Boolean
Int is not a wrapper class
Byte is the wrapper class of byte, Int is not a wrapper class and is a primitive data type, Long is a wrapper class of long, Boolean is a wrapper class for boolean. Hence Int is the correct answer and its wrapper class is Integer.
2. Which of the following statements will cause a compiler error?
A. Integer i = new integer ( ) ;
B. Integer j = new integer ("5") ;
C. Integer k = Integer.valueOf ("5");
D. int m = Integer.pareseInt ("5");
“I” in integer in A and B must be in capital.
3. If variables j and k refer to objects of type Double and j . compareTo (k) returns a value of 1, which of the following is true?
A. The double value held in j is less than the value held inside k.
B. The difference between values held in j and k is 1.
C. The double values held inside j and k are both positive.
D. The double value held inside j is greater than the value held inside k.
Compareto return 1 if first value is greater than with what it is compared.
4. What is a radix as used in the method parseInt (String s, int radix) from the integer class?
A. A numeric base 2 such as for binary or 16 for hexadecimal.
B. The number of characters in the string that represent integers.
C. The Unicode character code to be used when parsing the string.
D. The number of times the string should be repeated before being converted to an int.
The radix value is 10 for decimal, 2 for binary and 16 for hexadecimal. Radix is the base or number of unique digits.
5. Which of the following is a static method of the integer class?
A. intValue ( )
B. parseInt ( )
C. toString ( )
D. compareTo ( )
ParseInt() is a static method of the integer class, and rest are non static methods.
6. Which of the following statements will cause a compiler error?
A. Double a = new Double (10.6) + 3;
B. Integer b = 0;
C. Double c = 0;
D. int d = new Integer (7) ;
In A and C data type does not matches like Double c=0 means Double c=new int(0) which is never true.
7. Which of the following is not an example of autoboxing?
A. Boolean a = false
B. Integer b = new integer (9);
C. double x = 3.0;
Double c = x;
D. Character d = ‘2’;
Autoboxing brings out reference type from the value type, and this is not true for A
8. What is the result of the following code fragment?
BigInteger a = new BigInteger (“10”);
BigInteger b = new BigInteger (“25”);
a . multiply (b);
a . add (b);
System.out.println (a);
A. 10
B. 35
C. 250
D. 275
a.multiply(b) = 250
a.add(b)= 250+25=275
9. What is the name of the BigInteger method that will calculate the remainder of division by another BigInteger?
A. modulo ( )
B. modulus ( )
C. divisor ( )
D. remainder ( )
Remainder is the correct answer.
Explanation:
Please check answer.
in word you can make lines isolated what is it called
gutter
orphan
widow
merging
Answer:
gutters is a word that you can makes lines isolated because gutter is an orphan widow merging
A customer complains that the network connection on the laptop is intermittent. The customer states that they are using a wireless PC card for network connectivity. The customer believes that the laptop may be too far from the wireless access point; however, he does not know where the wireless access point is located.
As a technician, you need to be able to ask questions that will be recorded on a work order. What are 5 closed-ended questions and 5 opened-ended questions that you would ask a customer.
how are you
I will ask what's the problem
what happend before u saw this
what did I do after
was anyone with you
and give me permission to help
Parts of a Computer
Question 3 of 9
Which part looks like a TV screen and lets you see your work and your
3
files?
Computer Case
Printer
Mouse
Monitor
Submit Answer
Please help I’m incredibly confused
Answer:
Monitor Sorry If I’m wrong!
Explanation:
Answer:
Maybe files I think I'm wrong
Lei is being cyberbullied by a group of girls. What advice would most help Lei? Share an unflattering photo of the bullies to get them back Immediately delete all evidence of the bullying Don't ignore or block the bullies online Talk to a trusted adult and get his or her perspective
Answer:
Talk to a trusted adult and get his or her perspective
Explanation:
What does this loop that uses a range function do?
for i in range(7, 15)
print("goodbye")
O It prints "goodbye" 8 times, numbered from 7 through 14.
It prints "goodbye" 9 times, numbered from 7 through 15.
O It prints "goodbye" 9 times.
O It prints “goodbye" 8 times.
This code will print "goodbye" 8 times
Answer:
B. It prints "goodbye" 9 times, numbered from 7 through 15
Explanation:
Why is it important to proofread your documents ?
Answer:
It's important to proofread your documents to make sure that you don't have any avoidable mistakes.
Explanation:
Avoidable mistakes include grammar, sentence structure, and word choice.
Joann wants to save the building block she created for the title of her company.
In which file does she save this building block?
O Building Blocks.dotx
O Building Blocks.html
O Building Blocks. thmx
O Building Blocks.qpbb
Answer:
The actual answer is A.
Explanation:
Answer:
a
Explanation:
The ____, which amplified weak electrical signals, enabled electrical sound recording.
Answer:
Radio
Explanation:
For your biology class, you will be giving a presentation of the findings of a plant growth experiment. Which application is best suited for this presentation?
Writer or Word
Impress or PowerPoint
Notepad or Paint
Calc or Excel
Answer: Powerpoint
Explanation: Easy to give graphs and add pictures. You can also add shapes to create a bar graph if needed.
Answer:
Calc or Excel
Explanation:
Use the drop-down menus to complete the statements about creating a table of contents in Word 2016.
To use the table of contents feature in Word, a user must have already created
in the document.
The Mark Table of Contents Entry option is used for
marking nonheading text for the table of contents.
On the Table of Contents dialog box, the
button can be used to change font styles.
Answer:
1.headings and subheadings
2.manually
3.options
Answer: 1.Headings and Subheadings
2.Manually
3.Options
Explanation: Just did it on e2020.
What is computer. Write full form of mips
Answer:
Stands for "Million Instructions Per Second." It is a method of measuring the raw speed of a computer's processor. ... The MIPS measurement has been used by computer manufacturers like IBM to measure the "cost of computing." The value of computers is determined in MIPS per dollar.
Write a while loop that replaces every occurrence of “cat” in the message with “dog” using the indexOf and substring methods.
Given:
public class ChallengeReplace
{
public static void main(String[] args)
{
String message = "I love cats! I have a cat named Coco. My cat's very smart!";
// Write a loop here that replaces every occurrence of "cat"
// in the message with "dog", using indexOf and substring.
}
}
Answer:
Complete the program using:
int index = message.indexOf("cat");
while(index != -1){
message = message.replace("cat","dog");
index = message.indexOf("cat");
}
System.out.print(message);
}
}
Explanation:
The line gets the index of string "cat"
int index = message.indexOf("cat");
The following operation is repeated until all occurrence of "cat"s has been replaced with dog
while(index != -1){
message = message.replace("cat","dog");
index = message.indexOf("cat");
}
This prints the new string
System.out.print(message);
}
}
The program illustrates the use of loops.
Loops are used to perform repetitive and iterative operations.
The code segment where comments are used to explain each line, is as follows:
//This gets the index of "cat" in the string message
int index = message.indexOf("cat");
//The following loop is repeated, until there is no occurrence of "cat" in the string
while(index != -1){
//This replaces "cat" with "dog"
message = message.replace("cat","dog");
//This gets another index of "cat" in the string message
index = message.indexOf("cat");
}
//This prints the new string
System.out.print(message);
}
}
At the end of the loop, all occurrence of "cat" are replaced with "dog".
Read more about similar programs at:
https://brainly.com/question/20461017
When would you use the Reading View in Word?
To add an image to the document
To have Word Online read the document to you
To make changes to the document
To read the document without any distractions
Answer:
D: to read the document without any distractionsTo read the document without any distractions is used in the reading View in Word. Thus, option D is correct.
What is an Inference?
This refers to the deductions or conclusions that are made about a particular thing or idea based on available evidence, background information and powers of conclusion.
Hence, we can see that from the given text, Nicholas Carr is quoted as saying that reading online makes people to be 'mere decoders of information.' and this makes people become less engaged as they tend not to use their ability to interpret texts less and less.
Based on the given text, it can be seen that Nicholas Carr believes that reading online makes people not connect as deeply as reading without distraction, which can be an inference, to offline reading.
Therefore, To read the document without any distractions is used in the reading View in Word. Thus, option D is correct.
Learn more about document on:
https://brainly.com/question/27396650
#SPJ2
Which line of code outputs the decimal portion of a float stored in the
variable x?
Answer:
the answer is a
Explanation:
Steve Jobs described early computers as “the most remarkable tool that we’ve ever come up with..it’s equivalent of a bicycle for our minds.” Would you describe smartphones as a bicycle for our minds?
Answer:
Here is my stance on the phone issue and a quote from Steve himself.
"I think one of the things that really separates us from the high primates is that we’re tool builders. I read a study that measured the efficiency of locomotion for various species on the planet. The condor used the least energy to move a kilometer. And, humans came in with a rather unimpressive showing, about a third of the way down the list. It was not too proud a showing for the crown of creation. So, that didn’t look so good. But, then somebody at Scientific American had the insight to test the efficiency of locomotion for a man on a bicycle. And, a man on a bicycle, a human on a bicycle, blew the condor away, completely off the top of the charts.
And that’s what a computer is to me. What a computer is to me is it’s the most remarkable tool that we’ve ever come up with, and it’s the equivalent of a bicycle for our minds."
Explanation:
Like anything smartphones, computers, and television can be the junk-food equivalent of our minds or the inspiration to better yourself with knowledge and creativity. To me its like a bicycle in that are you riding the bicycle to healthfoods or mcdonalds. Its the freedom of the transportation of knowledge that can be so life-changing and so life-threating at the same time.
I would not think of smartphones as a bicycle for our minds as they do not run on how my mind functions.
What are people view on the quote above?Some people do believe that the statement is true. They think also that smartphones and tablets can be a source of big distraction if not handled well.
Smartphones are a good learning tools, or they can be bicycles for our minds only when they are used by a skillful person.
Learn more about smartphones from
https://brainly.com/question/917245
A business letter should always include the address of the sender.
True
False
Answer:
true
Explanation:it is true because like that they could send that letter were it go's so like that they don't have trouble looking for the person's letter
please mark me as brainlist
If you needed a job and wanted to find places that were hiring, how could you do that without fast internet access?
Answer: you cant do it inless you have wifi every where you go i think becuase i try it before thanks
how major is the technology problem in the United States? Why is it such a big problem?
Answer:
Explanation:
the problem is predators can get to children easier through the internet
Which definition of intelligence is based on the Turing test?
Answer:
The Turing Test is a deceptively simple method of determining whether a machine can demonstrate human intelligence
Explanation:
Answer:
The correct answer would be Acting Humanly
Explanation:
My proof is in this test I took. (See The Picture Below)
which are the two alternatives for pasting copied data in a target cell groups
Answer:
Excel has decided to paste contents into a single cell, rather than keeping data in columns. When copying from a query in SQL that has data in a table, pasting it into Excel would normally split the data into the columns - keeping the table. But Excel has automatically changed and takes out the table, pasting each row into one cell.
Explanation:
After a new technology is purchased, what are some additional costs that must be incorporated into an upgrade budget?
Answer:
Depends
Explanation:
If corprate then education,
if home then premium software,
if school educational software.
HOPE THIS ANWSERS YOUR QUESTION
IF NOT, MESSAGE ME!
Why are charts and graphs included in documents rather than just raw data?
Answer:
It's more organized and easier to look at
Explanation:
If it was just the raw data, it would take more time to analize, rather than it already being in a chart or graph
Consider the following code:
Using Python
x = 19
y = 5
print (x % y)
What is output?
In python the % operator is modulo. Modulo returns the remainder of two numbers.
19 % 5 = 4 therefore,
print(x%y) would output 4
Using Python, the output of the code will be 4. The explanation of the problem is shown below.
What is Python?Python is a high-level, interpreted programming language that was first released in 1991 by Guido van Rossum. It is a general-purpose language that can be used for a wide variety of applications, including web development, scientific computing, data analysis, artificial intelligence, machine learning, and more.
Python is known for its simplicity and readability, making it easy to learn and use. Its syntax is designed to be concise and expressive.The % operator in Python returns the remainder of the division of two numbers.
In this case, x % y is equivalent to 19 % 5, which is 4 since 19 divided by 5 is 3 with a remainder of 4. The print function is used to display the value of the expression x % y on the screen.
Learn more about Python, here:
https://brainly.com/question/30391554
#SPJ3
How do you implement instruction level parallelism
Answer:
To obtain substantial performance enhancements, we must exploit ILP across multiple basic blocks.
Explanation:
A data unit created at the transport layer by UDP is a _____.
A. segment
B. packet
C. datagram
D. frame
Answer:
A datagram
Explanation:
Protocol data units for the Internet protocol suite are: The transport layer PDU is the TCP segment for TCP, and the datagram for UDP. The Internet layer PDU is the packet.
Answer:
I think it's Datagrame
Explanation:
Bill has several workbooks open, and he would like to see them all side by side on the screen. Which option on the
Arrange All menu should he use?
Tiled
Cascade
Horizontal
Vertical
Answer:
tiled
Explanation:
The way things are arranged on a publication is referred to as the _____.
style
guides
layout
scheme
what are the weakness of a computer somebody plzz tell me
Answer:
The computer, in spite of its strengths and the denials of its missionaries, does have a number of weaknesses. These can be seen in three areas: first, the machine itself, second, the people who serve it and, third, its output.
4.1 Code Practice: Edhesive
In python 3:
while True:
name = input("Please enter a name: (Nope to end) ")
if name == "Nope":
break
print("Nice to meet you {}".format(name))
I hope this helps!
The program is an illustration of while loops.
While loops are used to perform iterative operations, until the condition is met
The program in Python, where comments are used to explain each line is as follows:
#This prompts the user for name
name = input("Please enter a name (Nope to end) ")
#This checks if input is "Nope"
while name.lower()!="nope":
#If no, this prints the greetings
print("Nice to meet you",name)
#This prompts the user for another input
name = input("Please enter a name (Nope to end) ")
Note that the loop is repeated until the user enters "Nope" or "nope"
Read more about while loops at:
https://brainly.com/question/18430675