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
suter [353]
3 years ago
7

How is the number 110 written when expanded out to place values in the base 2 (binary) number system?

Computers and Technology
1 answer:
Vinil7 [7]3 years ago
3 0
C is correct answer ......
You might be interested in
Luke recently purchased a used computer from a friend. His friend said that the computer’s hardware worked well, but occasionall
amid [387]

depending on the age and other things about the computer. check all of them.

3 0
3 years ago
Read 2 more answers
8.3.7: Exclamat!on Po!nts
Masteriza [31]

The function is an illustration of loops.

Loop instructions are used to repeat operations

The function in Python, where comments are used to explain each line is as follows:

#This defines the function

def exclamation(myStr):

   #This iterates through the string

   for i in range(len(myStr)):

       #This checks if the current character of the string is "i"

       if myStr[i] == "i":

           #If yes, this converts the string to a list

           s = list(myStr)

           #This replaces i with !

           s[i] = '!'

           #This gets the updated string

           myStr = "".join(s)

   #This returns the new string

   return myStr

       

Read more about similar programs at:

brainly.com/question/22444309

5 0
2 years ago
Heya! I’m quite lonely, so here are some points. I want to play some mc with others but the only version I’m able to play is edu
Aleksandr-060686 [28]
Yeah bet brainliest please
8 0
3 years ago
Read 2 more answers
You have a network of ten computers connected to a single switch that has 12 ports. You need to add six more computers to the ne
Mariulka [41]

Answer:

star-bus

Explanation:

A Star-bus is a design connected with each node directly with the central network, the switch manages all the functions, and acts like repeater and data flow.

There are some advantages and disadvantages.

Advantage

  • Easy to develop.
  • Easy to detect faults.

Disadvantage

  • It needs a lot of cable.
  • If the switch fault everything fault
  • Expensive to make.
3 0
3 years ago
A small company is moving all its employee data to a computer. To make a smooth transition, a software program will permit the d
Llana [10]

Answer:

Explanation:

This program should hold three functions for easy usage. The first will be a main function, the second will be a check function, the third will be a write function.

Main function:

First task should be to create the file using different functions which ae different for every language, like in java the function FileOutputStream will be used to make the file and PrintWriter can be used to enter data into the aforementioned file.

FileOutputStream fout=new FileOutputStream("employees.dat");

PrintWriter pw=new PrintWriter(fout);

or

PrintWriter pw=new PrintWirter(new FileOutputStream(“employees.dat”));

What we will do next is to run a do while loop which asks for the employee ID. Then it checks whether the ID is valid or not using the check function. If is comes out to be valid, then we will send the id to the write function where the further details of the employee will be asked. If it comes out to be invalid, an error message is to be printed stating that the input is wrong. Finally, we will ask the number that whether they want to enter more data. This condition will be put in the while and it will terminate the loop once the user says no more data.

Check function:

We will take a flag variable throughout the function which will keep track whether the number is valid or not.

Firstly, we will check that the entered id is less than 10 characters long. If no, then change the flag variable to invalid.

There are 5 valid id numbers that an entered id number must contain. These 5 can be entered into the system as an array.

Then in a loop we will check that whether one of these exists as a substring of the entered number.

boolean check=false;  

//here check is the flag variable. If it remains false, it means that the entered ID is not valid.

if(length<=10)

           {

               String chch[]={"RE49762358","PR156125","OF45461","RE68566547","PR156984"};

               for(int i=0;(i<5)&&(!check);i++)

               {

                   int len1=chch[i].length();

                   for(int j=0;(j<=len-len1)&&(!check);j++)

                   {

                       String check12;

                       if(j+len+1==len)

                       check12=str.substring(j);

                       else

                       check12=str.substring(j,j+len1);

                       if(check12.equals(chch[i])){check=true;}

                   }

               }

           }

After the completion of loop, we can check return the flag variable to the main function.

Write function:

The print writer function written before shows it work here. First, we input the employee first name, last name and the employee hourly wage from the user. Do have a check statement for the hourly wage to be less than $45.50. If all conditions are fulfilled, then print all the details to the file.

pw.println(first_name);

pw.println(last_name);

pw.println(employee_id);

pw.println(hourly_wage);

pw.flush();            

7 0
3 years ago
Other questions:
  • Type the correct answer in the box. Spell the word correctly.
    14·2 answers
  • The user location is usually a city
    7·1 answer
  • Classes cannot:
    10·1 answer
  • Write a program that writes 10 random numbers into a file named numbers using loops.
    10·1 answer
  • What is input process<br>​
    14·1 answer
  • What is a example of blockchain
    8·1 answer
  • In order for a fault-block mountain to form, a ______ must take place along a fault line and one side must be ________.
    11·1 answer
  • 1. The Bank manager is imposing a 10% interest rate on the new salary loan to every account in the BPI Family Bank. (ANSWER SHOU
    15·1 answer
  • What is computer assisted translation​
    9·1 answer
  • Write five importanceof saving a file.​
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!