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
bulgar [2K]
3 years ago
15

7.

Computers and Technology
1 answer:
lina2011 [118]3 years ago
4 0

Answer:

16GB RAM

Explanation:

You might be interested in
Developers work together with customers and useras to define requirements and specify what the proposed system will do. If once
yarga [219]

Financially would be responsible

7 0
3 years ago
Copyright ownership analysis starts with this principle: The ________ is the owner.
pogonyaev

Answer: Author

Explanation: self explanatory

3 0
3 years ago
Use the {blank} to view your presentation the way an audience will see it.
steposvetlana [31]
I would believe it would be A. Slide Show Button
4 0
3 years ago
Read 2 more answers
Select the correct answer.
goblinko [34]

Answer:

b

Explanation:

8 0
3 years ago
Write a program that takes in a positive integer as input, and outputs a string of 1's and 0's representing the integer in binar
Mashcka [7]

Answer:

Following are the code to this question:

def binarynumber(num):#defining a method binarynumber that accepts a parameter num

   x=""#defining a string variable x

   if (num!=0):#defining if condition to check number not equal to 0

       while (num>=1):#defining a loop that check value is grater then equal to one

           if (num %2==0):#defining if condition to check num is even

               x=x+"0" #add string value 0 in num variable

               num=num/2 #divide the value by 2

           else:#defining else block

               x=x+"1"#add string value 1 in num variable

               num=(num-1)/2#first subtract 1 into num variable then divide the value by 2

   else:

       x="0"#assign string value 0 in num variable  

   return "".join(reversed(x))#return value

num = int (input ("Enter any number: "))#defining num variable that input the integer value

print (binarynumber(num))#using print method to call method binarynumber with passing num parameter

Output:

Enter any number: 12

1100

Explanation:

  • In the above python code a method "binarynumber" is declared, in which the "num" variable passes as the parameter inside the method a string variable "x" is declared that stores all converted values.
  • Inside the method and if the block is declared that checks number value is not equal to 0 if this condition is false then it will add string value and reverse its value.
  • Or if the condition is true it defines a while loop that calculates the given number binary digits and returns its value.
  • At the last step, the num variable is declared that inputs the integer value from the user end and calls the method by using the print method.    
6 0
4 years ago
Other questions:
  • Designing the moving parts of a car—including the engine, drivetrain, steering, and brakes—is done by what type of engineer?
    11·2 answers
  • The general manager for a retail clothing outlet was recently cited as saying, IT is the cornerstone of our company. All of our
    9·1 answer
  • How to change font size and style and add a table when creating a webpage?
    6·1 answer
  • Binary code what does this mean I was sick so I don't under stand
    7·2 answers
  • Type of media that uses laser technology to store data and programs is
    6·1 answer
  • Methods used to change variables are called ______. equals accessors toString void mutators
    5·1 answer
  • Does the Main Content (MC) of a web page include searchboxes?
    10·1 answer
  • Why are modern manufacturing techniques preferred over those historically used by artisans?
    13·1 answer
  • Write a code segment that uses a loop to create and place nine labels into a 3-by-3 grid. The text of each label should be its c
    6·1 answer
  • A program that organizes sequences of automated provisioning tasks. A. Application Packager B. Sequence Manager C. Sequence Logg
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!