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
natali 33 [55]
3 years ago
5

Which statement is true? Group of answer choices Variables cannot be assigned and declared in the same statement Variable names

must contain at least one dollar sign Variable names can be no more than 8 characters long It is incorrect to initialize a string variable with a number
Computers and Technology
1 answer:
mote1985 [20]3 years ago
3 0

Complete Question:

Which statement is true? Group of answer choices

A. Variables cannot be assigned and declared in the same statement

B.  Variable names must contain at least one dollar sign

C. Variable names can be no more than 8 characters long

D.  It is incorrect to initialize a string variable with a number

Answer:

D. It is incorrect to initialize a string variable with a number

Explanation:

  1. Options A-C are not correct
  2. Variables can be declared and assigned values on same statement like this int a =5;
  3. Variable names must not contain the dollar sign as this declaration int num =0; is legal without a dollar sign
  4. Variable names are not restricted to 8 characters long they can be longer
  5. In option D if you declare a variable of a particular type, you must assign a value of that type for example int s ="John" is wrong
You might be interested in
Software that translates the sound of human voice into text is called:________.
S_A_V [24]

Answer:

C) speech recognition software.

Explanation:

Software that translates the sound of human voice into text is called a speech recognition software.

In Computer science, a speech recognition software is a voice technology application or program which enables the conversion of human voice such as spoken language to computer commands such as text through the use of speech recognition algorithms.

Some examples of speech recognition software are HTK, Kaldi, Voice navigator, Julius etc.

6 0
3 years ago
Last month Joe purchased some stock in Acme Software, Inc. Here are the details of the
fiasKO [112]

Shares_Purchased = 0.0

Amt_PaidPerShare = 0.0

Commission_Percentage = 0.0

Paid_WithoutCommission = 0.0

Commission_Paid = 0.0

Total_Paid = 0.0

Shares_Sold = 0.0

Amt_SoldPerShare = 0.0

Sale_Amount = 0.0

Earned_WithoutCommission = 0.0

Commission_PaidSale = 0.0

Total_Earned = 0.0

ProfitNoProfit = 0.0

#calculation starts from here

Shares_Purchased = float(input("How many shares did you purchase? \n "

"enter in 0.0 form: "))

Amt_PaidPerShare = float(input("How much did you pay per share? \n"

"enter in 0.0 form: "))

Commission_Percentage = float(input("What percentage is your stockbroker \n"

"Charging per transaction? enter in 0.00 form: "))

Paid_WithoutCommission = Amt_PaidPerShare * Shares_Purchased

Commission_Paid = Paid_WithoutCommission * Commission_Percentage

TotalPaid = Commission_Paid + Paid_WithoutCommission

Shares_Sold = float(input("How many shares did you sell? \n "

"enter in 0.0 form: "))

Amt_SoldPerShare = float(input("How much did you sell each share for? \n"

"enter in 0.0 form: "))

Earned_WithoutCommission = Amt_SoldPerShare * Shares_Sold

Commission_PaidSale = Earned_WithoutCommission * Commission_Percentage

Total_Earned = Earned_WithoutCommission - Commission_PaidSale

ProfitNoProfit = Total_Earned - Total_Paid

#printing the output

print ("You paid the following for the shares:")

print (Paid_WithoutCommission)

print ("You paid the following in commissions to your stockbroker for the purchase:")

print (Commission_Paid)

print ("In total, you paid:")

print (Total_Paid)

print ("You sold your shares for the amount of:")

print (Earned_WithoutCommission)

print ("You paid the following in commissions to your stockbroker for the sale:")

print (Commission_PaidSale)

print ("In total, your revenue is: ")

print (Total_Earned)

if ProfitNoProfit > 0:

   print ("You have earned a profit of: %s." % ProfitNoProfit)

elif ProfitNoProfit == 0:

   print ("You have broken even")

else: print ("You have lost this amount: %s." % ProfitNoProfit)

5 0
3 years ago
HELP PLEase!!! Which option is an outcome of a project stated in quantifiable terms?
dimulka [17.4K]

Answer: C) a 10 percent increase in efficiency of sales of a particular product line over one year

The term "quantifiable" means that we can attach a number to it. Specifically, a number in which we can do math operations upon it. Something like telephone numbers or serial numbers don't really count as quantifiable entities. They are qualitative variables instead. So you have to be careful what numbers you run into. In this case, "10 percent increase in efficiency" is quantitative and fits what we're after.

A 10% increase corresponds to the multiplier 1.10; for instance, if you had sales of 40 million dollars one year, then a 10% increase is 1.10*40 = 44 million in sales. This is one example where we apply a math operation (specifically multiplication) on the value in question.

4 0
3 years ago
Which kind of tablet positions the case below a keyboard, providing functionality similar to that of a laptop?
lianna [129]
The appropriate response is convertible. A convertible portable figuring gadget has a show screen and cover upheld at three focuses for stable development between a shut position, a tablet PC operational position and a tablet PC operational position. A web pivot gathering essentially couples along a collapsing hub on the cover side of the show screen and to the back negligible edge of the base unit with which the show screen participates.
4 0
3 years ago
Range of IP address that anyone can use for their internal network are known as
Ludmilka [50]
Range of IP address that anyone can use for their internal network are known as  <span>private IP addresses.  The public IP addresses on the other hand are public and can not be used within a home or business network.

</span>

The Internet Assigned Numbers Authority (IANA) reserves the following IP address blocks for use as private IP addresses:

<span><span>10.0.0.0 to 10.255.255.255
</span><span>172.16.0.0 to 172.31.255.255</span><span>
192.168.0.0 to 192.168.255.255</span></span>
4 0
3 years ago
Other questions:
  • Which is a function of network media?
    14·2 answers
  • 1.
    7·1 answer
  • Where are all of your documents saved?
    14·2 answers
  • All but one of the following statements about stored procedures is true. Which one is false? a. They consist of one or more SQL
    10·1 answer
  • U.S. cybersecurity experts and government officials are increasingly concerned about breaches from __________ into corporate net
    15·1 answer
  • A ________ is a single media file including art, sound, animation, or movies.
    9·1 answer
  • How do I mark brainlyist
    7·2 answers
  • Mark just finished reading the cay and must write a book report comparing events in the book to events in his life. based on eac
    8·1 answer
  • Declaring a member as ____ in the base class provides access to that member in the derived classes but not to anyone else. a. pu
    5·1 answer
  • What features should you present when demonstrating 2023 murano’s confident cornering?.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!