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
netineya [11]
3 years ago
8

Write a program to check the password( qbasic)​

Computers and Technology
1 answer:
snow_tiger [21]3 years ago
4 0

Answer:

Assuming this is in python:

def check_password(password):

   

   correct_password = "qbasic"

   

   if password == correct_password:

       return True

   else:

       return False

def main():

   

   user_input = input("Type in your password: ")

   

   if check_password(user_input):

       print("Correct!")

   else:

       print("Wrong, try again")

     

       

main()

Explanation:

Hope this helped :) If it wasn't suppose to be in python, tell me so I can make it in the correct programming language.

Have a good day :)

You might be interested in
Which of the following statements is not true about report styles?
Lina20 [59]

Answer:

The answer to the following question is the option "C".

Explanation:

In computer science, Report is a document that displays data in a standardized format. We can summarize the report orally but the complete reports are always given in documents. In report styles, we can select controls for formatting sources, select controls for the formatting of citations and it does not control the overall formatting of the report. So the incorrect statement to this question is "Use the Page Setup tab to choose a report style for your document".

3 0
3 years ago
The process of adding a header to the data inherited from the layer above is called what option below
Tom [10]

Answer:

The correct answer to the following question will be "Encapsulation".

Explanation:

The wrapping of the data into a single unit or the method by which a header is applied to the data inherited from the above layer is termed as Encapsulation.

While relating to networking, encapsulation would be the method of storing and converting data through one protocol into another, so that the data can proceed over a network. A TCP/IP package contained under an ATM system, for example, is indeed a kind of encapsulation.

Therefore, Encapsulation is the right answer.

4 0
3 years ago
"A ____ is loosely defined as a very small device that has some built-in computing or Internet capability"
gizmo_the_mogwai [7]

Answer:

A mobile device is loosely defined as a very small device that has some built-in computing or Internet capability.

Explanation:

A mobile device also referred to as a handheld device is a computer device small enough to hold and operate in the hand.

Mobile devices can connect to the Internet and interconnect with other devices such as headsets through Wi-Fi, Bluetooth, cellular networks or near field communication (NFC).

Examples are: Smartphones, Tablets, Calculator , Digital media player , Handheld game console , Laptop , Mobile Internet Device (MID) , Personal Digital Assistant (PDA) , and Pocket calculator .

7 0
3 years ago
Acceleration is the rate at which an object changes its velocity. It is typically represented by symbol a and measured in m/s2 (
Natalija [7]

Answer:

<u>Pseudocode:</u>

INPUT velocity

INPUT time

SET velocity = 0.44704 * velocity

SET acceleration = velocity / time

SET acceleration = round(acceleration, 1)

PRINT acceleration

<u>Code:</u>

velocity = float(input("Enter a velocity in miles per hour: "))

time = float(input("Enter a time in seconds: "))

velocity = 0.44704 * velocity

acceleration = velocity / time

acceleration = round(acceleration, 1)

print("The acceleration is {:.2f}".format(acceleration))

Explanation:

*The code is in Python.

Ask the user to enter the velocity and time

Convert the miles per hour to meters per second

Calculate the acceleration using the formula

Round the acceleration to one decimal using round() method

Print the acceleration with two decimal digits

7 0
3 years ago
In a ________ network, each node connected to the network communicates directly with every other node.
nlexa [21]
I am definitely sure that correct answer looks like this: In a <span>peer-to-peer </span>network, each node connected to the network communicates directly with every other node. Peer-to-peer or P2P network is a network in which every client connected to another client and they are depended on each other. When one of them has connection problems, another one gets them too.
5 0
3 years ago
Other questions:
  • Pls go to my account and answer my question
    11·2 answers
  • Jacobson furniture pseudo-code
    8·1 answer
  • A software program installed without the user's knowledge and designed to alter the way a computer operates or to cause harm to
    12·1 answer
  • The appropriate software to use for creating research papers is ________ software. Select one: A. presentation B. word processin
    15·1 answer
  • Suppose that a computer can read or write a memory word in 5 nsec. Also suppose that when an interrupt occurs, all 32 CPU regist
    10·2 answers
  • What is the advantage of using a translation look-aside buffer (TLB), also called associative memory, in the logical-physical ad
    15·1 answer
  • Which of the following industries utilize computer science?
    13·1 answer
  • How to give answer like this?????
    14·1 answer
  • Does anyone know the answer
    10·1 answer
  • What is the meaning of Ram?​
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!