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
nalin [4]
3 years ago
6

When a number gets assigned to a variable that already has a value __________?

Computers and Technology
1 answer:
Aleksandr-060686 [28]3 years ago
3 0
A already assigned variable cannot be assigned twice You can make the variable change over to a new one or call a whole new one to assign one without a value or It might be possible to do v=n (v is variable and n is number / value)
You might be interested in
Which computer is the fastest to process complex data?
Andreas93 [3]

Answer:

D. 2.6 GHz processor, 8 GB RAM, 1 TB hard drive

Explanation:

In Computer science, the processor speed of a computer can be defined as the number of cycles per seconds that the central processing unit (CPU) of a computer operates. The processor speed typically determines the number of information that a computer is able to execute per seconds. Therefore, the higher or faster the processor speed the faster the computer in processing complex data.

Generally, the processor speed of a computer is measured in megahertz (MHz) or gigahertz (GHz).

Additionally, Radom Access Memory (RAM) can be defined as the main memory of a computer system which allow users to store commands and data temporarily. RAM is measured in megabytes (MB) or gigabytes (GB).

Generally, the Radom Access Memory (RAM) is a volatile memory and as such can only retain data temporarily.

All software applications temporarily stores and retrieves data from a Radom Access Memory (RAM) in computer, this is to ensure that informations are quickly accessible, therefore it supports read and write of files.

Hence, the computer which is the fastest to process complex data is the 2.6 GHz processor, 8 GB RAM, 1 TB hard drive because of the higher processor speed and RAM size.

7 0
3 years ago
The scope of a variable declared outside of any function is:
pishuonlain [190]

Answer:

The correct answer for the given question is option(A) i.e Global

Explanation:

The global variable is the variable which is declared outside the function The lifetime and scope of global variable  in whole the program i.e "Globally" .They can be access anywhere in the program,however local variable are those which is declared inside the function .local variable are access inside that function only where it is declared.

Following are the example of Global variable.

#include <stdio.h> // header file

int t=9;// global variable declared outside the function

int main() // main function()

{

   printf("%d",t); // display the value of t

   return 0;

}

so the correct answer is Global.

5 0
3 years ago
Clickable text or image that takes you to a different site
hichkok12 [17]
A clickable text or image that takes you to a different site is called a Hyperlink or simply a Link.
3 0
3 years ago
Write a program to calculate the area of a triangle whose base is 10cm and height is 6cm
Tcecarenko [31]

Answer:

30cm

Explanation:

Height X Base

6cm X 10cm

60cm

Then take half because a triangle is half a square and we are using a square formula.

60cm divided by 2

=30cm

7 0
3 years ago
What is an abstract data type?
Aloiza [94]

Answer:

Abstract data type is a datatype which hides all the implementation details to the end user.

Explanation:

Class is an abstract data type in object oriented programming. Class abstracts both data members and member functions implementation. Here we can hide some confidential data from end user using access specifier "private". We can make end user access only the data which is marked as "public".

example:

public class Calculate

{

private int  salary;

public int workingHours;

public int reatePerHour;

public void Calcuate(){

int total=workingHours*reatePerHour;

cout<<total;

}

}

Here class calculates hides the implementation details of the method "Calculate" .We are abstracting implementation details to the end user using "Class" data type. So it is an AbstarctDataType

8 0
4 years ago
Other questions:
  • ATM is an abbreviation that stands for Automatic Teller machine?
    5·2 answers
  • How is a cell named?
    9·1 answer
  • Design state machines to control the minutes and hours of a standard 24 hour clock. Your clock should include an AM/PM indicator
    11·1 answer
  • What is networking and types of networking?​
    6·1 answer
  • Write a program that prompts the user to enter an oligonucleotide sequence, such as TATGAGCCCGTA.
    7·1 answer
  • Which XXX will prompt the user to enter a value greater than 10, until a value that is greater than 10 is actually input?
    14·1 answer
  • Describe the features of agile modeling​
    5·1 answer
  • Because of increasing advances in technology, there are careers available that weren’t even invented 10 years ago. One such care
    13·1 answer
  • Which types of file formats are the best choice for files that may need to be edited later?
    14·1 answer
  • Which is a benefit of a stock photo agency?
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!