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
Bess [88]
3 years ago
7

Your app needs to store the following information. For each type of information, decide whether you would use an array or a vari

able to store it:(a) All the messages a user has sent(b) The highest score a user has ever reached on the app(c) A username and password to unlock the app
Computers and Technology
1 answer:
Virty [35]3 years ago
3 0

Answer:

Array: (a) All the messages a user has sent.

Variable: (b) The highest score a use has reached on the app. (c) A username and password to unlock the app.

Explanation:

An array generally has more than one value whereas a variable can only contain a single value at any particular point in time. In addition, a variable has a limit whereas an array does not have any maximum limit. Therefore, it can be concluded that option (a) will be stored as an array while options (b) and (c) will be stored as variables.

You might be interested in
In PyCharm, write a program that prompts the user for their name and age. Your program should then tell the user the year they w
Neporo4naja [7]

Answer:

def main():

   name = input("What is your name? ")

   if not name == "" or "":

       age = int(input("What is your age? "))

       print("Hello " + name + "! You were born in " + str(2021 - age))

main()

Explanation:

Self explanatory

5 0
3 years ago
To prepare his book report on The Adventures of Tom Sawyer, Anand must research life on the Mississippi River in the 1800s. Whic
Viefleur [7K]
He should reread and find arcticles about life on the Mississippi River in the 1800s
3 0
4 years ago
Read 2 more answers
Write the definition of a function named alternator that receives no parameters and returns true the first time it is invoked, r
Nataly [62]

Answer:

The solution code is written in C++

  1. bool STATUS = true;
  2. bool alternator ()
  3. {
  4.    if(STATUS){
  5.        STATUS = false;
  6.        return true;
  7.    }else{
  8.        STATUS = true;
  9.        return false;
  10.    }
  11. }

Explanation:

We need a global variable to track the status of true or false (Line 1).

Next, create the function alternator (Line 2) and then check if current status is true, set the status to false but return the previous status boolean value (Line 5-6). At the first time of function invocation, it will return true.

The else block will set the STATUS to true and return the false (Line 7-9).

3 0
3 years ago
What is the differences between array and object in javascript?
lakkis [162]
Functionally, not a lot. An object is an associative array basically. As objects, they inherit different properties.
6 0
3 years ago
In a conditional statement, the______ symbol is used to separate a test expression from the expression to be processed if the te
lyudmila [28]

Answer:

In a conditional statement, the <em><u>boolean</u></em> symbol is used to separate a test expression from the expression to be processed if the test result is true.

Explanation:

An example of a Boolean symbol is '>'. This results in the program calculating whether __ <em>bigger than</em> __.

7 0
3 years ago
Other questions:
  • A technician is performing Windows preventative maintenance tasks on all computers in the organization. She wants a way to creat
    14·1 answer
  • What risks, threats, and vulnerabilities are prominent with wlan infrastructures?
    7·1 answer
  • A typical broadcast live events and use streaming technology in which audio and video files are continuously downloaded to your
    12·1 answer
  • Answer all 1).The most common layout of keys on the keyboard is the _____ keyboard. ASDF QWERTY JKL QWOPY,
    5·2 answers
  • A network administrator is configuring an ACL with the command access-list 10 permit 172.16.32.0 0.0.15.255. Which IPv4 address
    9·1 answer
  • write a program that reads in the length and the width of a rectangular yard . your program should compute the time required ( i
    5·1 answer
  • Lukas entered the date 9-17-2013 in an Excel workbook. He wants the date to appears as “Tuesday, September 17, 2013.” Instead of
    12·1 answer
  • User Interface Design ensures that the interface has elements that are easy to ________________. (Choose all that apply)
    10·2 answers
  • Specific keys that each finger is responsible for typing is called A. ergonomics B. Touch typing C. Key reaches D. Posture
    8·1 answer
  • imagine that you are explaining the art of visual comparison to a group of photography students. You are mentoring. What do you
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!