1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Darya [45]
3 years ago
12

Can you shorten this using Java Assignments (-=, +=, *=, etc.)? “ second = first - second; ”

Computers and Technology
1 answer:
stepladder [879]3 years ago
5 0

Answer:

YES YOU CAN sorry caps

Explanation:

You might be interested in
Which of the following are the differences between DDR3 SDRAM and DDR2 SDRAM? DDR3 transfers data at twice the rate of DDR2. DDR
Free_Kalibri [48]

Answer:

DDR3 SDRAM having twice rate of data transferring as compared to DDR2 SDRAM both have 240 pin connection. DDR3 memory power consumption is 40 % less as compared to DDR2. both are transfers data on a 64 data bits wide bus. The physical difference occur in both type a cut is present at bottom along pin in DDR2 it is occur probably in center and In DDR3 it is occur at left  through center.

7 0
3 years ago
Suppose we have a dictionary called grades as shown below:
mihalych1998 [28]

Answer:

import statistics as st # importing statistics package to calculate mean as st.

grades = {"John": [87,90,86.8], "Mary": [78, 81.5, 88.6],"Susan":[45,67,76]}

for key,value in grades.items():#iterating over the dictionary

   average_score=st.mean(value)#calculating the mean of every student

   gr="" empty string to store the grades

   if average_score>=90: # nested if else if and statements for the grades in gr

       gr="A"

   elif average_score>=80.0 and average_score<90.0:

       gr="B"

   elif average_score>=70.0 and average_score<80.0:

       gr="C"

   elif average_score>=60.0 and average_score<70.0:

       gr="D"

   else :

       gr="F"

       

   print(str(key)+" "+str(average_score)+" "+str(gr)) #printing grades of every student.

Output:-Mary 82.7 B

John 87.93333333333334 B

Susan 62.666666666666664 D

Explanation:

1.In this program we are iterating over the dictionary grades.

2.Storing and calculating the mean of the scores of every student us statistics package.

3.Storing the grade in string gr and updating the gr according to the mean score

4.After that printing the grade of the student with their name and mean score.

6 0
3 years ago
What command is used to verify the condition of the switch interfaces, including the status of the interfaces and a configured I
vovangra [49]

Answer:

Show ip interface brief privileged mode command.

Explanation:

A switch is an intermediate network device for transmitting frames in a network. It operates at the Data-link layer of the OSI model. A Cisco switch uses the Cisco operating system for configuration.

There are three main mode in the switch operating system configuration interface, they are, user, privileged and global configuration mode.

The user mode has few commands vthat runs on it, but are not permanent configuration of the switch. The privileged mode is used mainly for verifying settings in the switch. To check for the IP addresses and status of switch ports, the "show ip interface brief" command is issued in the privileged mode.

All configuration in global mode that are saved in the startup configuration is permanent.

6 0
3 years ago
Would the book values of microsoft corporation's fixed assets normally approximate their fair market values?
Pepsi [2]
As in official Microsoft courseware? If so, then Yes, they will be the same price no matter where you purchase them.
7 0
3 years ago
What is one advantage of using a relational database over a spreadsheet or flat file to store data?
Elis [28]
A relational database<span> is a digital database. It is collection of data items organized in tables from which data can be accessed or reassembled in many different ways without having to reorganize the </span>database<span> tables. There are several advantages of using a relational database over a spreadsheet or flat file to store data. Some of them are:
</span><span>- No multiple record changes are needed
- The storage is more efficient storage
- It is simpler to delete or modify details.<span>
</span></span>- Complex queries can be carried out<span>.
</span>- Better security. 
8 0
4 years ago
Read 2 more answers
Other questions:
  • Jenny needs to record the names of 30 students, write down the subjects they studied, and note their grades in each subject afte
    14·2 answers
  • Which computer tools allow you to communicate with coworkers, family,and friends
    8·1 answer
  • What part of speech is contend
    6·1 answer
  • What’s the best description of an opportunity cost
    5·1 answer
  • Path of the signal of television
    6·1 answer
  • A firm can survive and succeed in the long run if it successfully develops strategies to confront the _______________ that shape
    9·1 answer
  • Which options are available when a business creates a new theme? Check all that apply.
    12·1 answer
  • Write a code that calculates the Greatest Common Divisor (GCD) of two positive integers (user-defined inputs). Include an except
    10·1 answer
  • You are doing a Diffie-Hellman-Merkle key exchange with Danny using generator 2 and prime 29. You pick the secret number 4. What
    14·1 answer
  • Which description best applies to a macro?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!