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
Maslowich
3 years ago
14

What will be the output of the following code?

Computers and Technology
1 answer:
mojhsa [17]3 years ago
5 0

Answer:

it schold be C = False di True True

You might be interested in
Define a function begins_with_line that consumes a string and returns a boolean indicating whether the string begins with a dash
Ksju [112]

Answer:

The program written in python is as follows:

def begins_with_line(userinut):

     while userinut[0] == '-' or userinut[0] == '_':

           print(bool(True))

           break;

     else:

           print(bool(not True))

userinput = input("Enter a string: ")

begins_with_line(userinput)

Explanation:

The program makes use of no comments; However, the line by line explanation is as follows

This line defines the function begins_with_line with parameter userinut

def begins_with_line(userinut):

The following italicized lines checks if the first character of user input is dash (-) or underscore ( _)

<em>      while userinut[0] == '-' or userinut[0] == '_': </em>

<em>            print(bool(True))  </em><em>->The function returns True</em>

<em>            break; </em>

<em>However, the following italicized lines is executed if the first character of user input is neither dash (-) nor underscore ( _)</em>

<em>      else: </em>

<em>            print(bool(not True))  </em><em>-> This returns false</em>

The main starts here

The first line prompts user for input

userinput = input("Enter a string: ")

The next line calls the defined function

begins_with_line(userinput)

<u><em>NB: The program does not make use of if statement</em></u>

8 0
3 years ago
Very small changes in size due to the wearing of a part can be detected by using a A. micrometer. B. metal rule. C. gapping tool
JulijaS [17]
Very small changes in size due to the wearing of a part can be detected by using a "A. micrometer", since this is the smallest form of measurement on the list, and would detect small changes. 
8 0
3 years ago
Define and describe PaaS. List the benefits of PaaS solutions. Describe potential disadvantages of PaaS. Describe how a cloud-ba
Volgvan

Answer:

PaaS has become a cloud technology that offers a way for consumers just to establish, successfully manage implementations without any of the sophistication of preserving but instead developing the technology related to the development and start-up of apps.

Explanation:

<u>Benefits</u>:

  • Not no need to purchase hardware as well as raise revenues throughout leisure time.
  • There was no need to consider throughout configurations.

<u>Disadvantages</u>:

  • These have privacy concerns, during which data security contributes to the problem as well as monitored.
  • These have problems with the portability of implementation.

<u>Difference between Cloud base DBMS and On-site database</u>:

  • On-site DBMS data couldn't be accessed from just about any location as either a cloud-based management solution.
  • DBMS Cloud base documentation to ensure mostly with highly valued information collected to provide direct exposure to everybody else together whilst on-site DBMS functionalities such as SQL.

<u>Computing recourses</u>:

  • The architecture of web applications.
  • Prebuilt techniques for developing, managing, and testing applications.
6 0
3 years ago
how do you know if you passed your freshman year and are promoted to a sophomore status? I need a 100% accurate answers from I g
AlekseyPX
As long as you received the credits for every core class you have become a sophomore
4 0
3 years ago
Process and procedures are important but not critical to the effective use of computer based information systems.
larisa [96]

Answer:

False

Explanation:

Process and procedures are important and critical to the effective use of computer based information systems.

This is because without process and procedures computer based information systems cannot solve the problems that a business or an organization faces.

Process and procedures define the way computer based information systems is used.

6 0
3 years ago
Other questions:
  • NEED HELP(10 POINTS) PLEASE HELP MATH
    8·2 answers
  • What can search the internet and select elements based on important words
    8·1 answer
  • What does the CFO of a company do
    14·1 answer
  • Write a program named Deviations.java that creates an array with the deviations from average of another array. The main() method
    8·1 answer
  • If you want to insert a table which ribbon should you select
    13·2 answers
  • I need help under standing an assignment, I've contacted my teacher but I want to finish this class already. Here's the directio
    11·1 answer
  • 1. Name the first PC virus.<br> 2. In which language are viruses written for Microsoft programs?
    8·2 answers
  • Steps to run a Q-BASIC programme<br>​
    6·1 answer
  • Suppose end system A wants to send a large file to end system B. At a very high level, describe how end system A creates packets
    9·1 answer
  • Who made computer ? Which year?
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!