Write each of the following decimal values in binary. (Can please show me how you did arithmetic you to perform the conversion.)
47
14
81
102
241

Answers

Answer 1

Answer:

47 → 101111

14 → 1110

81 → 1010001

102 → 1100110

241 → 11110001

Explanation:

There are two ways to calculate binary equivalent of decimal values:

Divide the number by 2 as in the image, keep the reminder to right. then divide the divisor by 2 and keep the reminder to right and so on. Then read the reminders from top to bottom.Or you can start putting 1 at the nearest power of 2 that is smaller than decimal integer, then subtract that value from the decimal integer. Again put 1 at nearest power of 2 and so on.

       e.g.

       For 102, we put 1 at 64. than 102[tex]-[/tex]64 = 38

                      then put 1 at 32, now 38 [tex]-[/tex] 32 = 6.

                      then put 1 at 4, now 6 [tex]-[/tex] 4 = 2.

                      then put 1 at 2, now 2[tex]-[/tex]2 = 0.

                      so put 0 at 1 and all other places except those where we put 1.

Write Each Of The Following Decimal Values In Binary. (Can Please Show Me How You Did Arithmetic You

Related Questions

A final class can't be extended.

*True

*False

Answers

Answer:

The answer is True.

Explanation:

The final class cannot be extended because in java final keyword means "no modification". If it is applied to a variable or anything else then that value becomes a constant after that it cannot be modified.So in cases of class if final keyword is used it means that class cannot be extended.

Trailer is only added at ___________ layer of OSI model.

a. Data link layer

b. Physical layer

c. Network layer

d. Transport layer

Answers

Answer:

a. Data link layer

Explanation:

A trailer / footer is the additional data (metadata) which is positioned at the end of the data block being stored or transferred,it  may contain information for the processing of the data block or simply placed at the end of the block.

In data transmission, the data is called the payload or body after the end of the header and before the trailer starts.

In Data link layer, it contain three parts-

Frame headerFrame dataFrame footer    

Which of the following is the correctsyntax for commenting in Java?# Enter CommentsHere/* EnterComments Here*/** Enter CommentsHere **

Answers

Answer:

/* EnterComments Here*/

Explanation:

/* EnterComments Here*/   is the right syntax for comments in java.

we can use double farword slash (//)  for single line comment and for mutliple line we can use /* comments here */ and for documentation comment we use below syntax-

/**

*

*

*/

DASD stands for ____________? Direct access storage device? Direct application storage device? Diverse access storage device

Answers

Direct Access Storage Device

Answer:

Direct access storage device.

Explanation:

DASD stands for direct access storage device.

Assuming deq is a deque object, the expression deq.push_front(elem) deletes the first element from deq.

True

False

Answers

Answer: False

Explanation:

This code code not deletes element from deq. This insert element at the beginning of deq. if it was deq.pop_front(elem) then it would have deleted the first element.

Therefore, it is false.

Specialized vocabularyis known as:

o Equivocal terms

o Jargon

o Trigger words

o Biased language

Answers

Answer:

"Jargon"

Explanation:

Great question, it is always good to ask away and get rid of any doubts that you may be having.

Specialized vocabulary is sometimes also known as "Jargon" . These are sets of words that are used specifically and uniquely for specific sets of groups or organizations.

For example Lawyers Judges and other law enforcement officials have their own Specialized vocabulary that are better understood by other people in Law enforcement, people that are not part of Law Enforcement might have a hard time understanding.

I hope this answered your question. If you have any more questions feel free to ask away at Brainly.

What is an example of the most important role of a systems analyst in any corporation?

Answers

Answer: The system analyst is one of the most important members in any organisation. These system analyst has to analyse different data of the organisation which would help to bring out the different any new business policy changes or any kind of improvement.

Explanation:

An example to know this better would be the system analyst of a telecom company. Here the role of the system analyst would be bring out the design and implementation of new telecom information system and also should be aware of previous data of the organization. The system analyst would also be responsible to bring out the new business policies based on latest telecom standards and ensure the systems conforms to the latest standards.

Which method(s) must a serializable class, implement?
? It must always implement both readObject andwriteObject

? It must implement either readObject orwriteObject, or both, depending upon the

desired behavior

? No Need to implement any methods

? None of the given option is correct

Answers

Answer: None of the given option is correct

Explanation:

A serializable class is implemented, when an object is serializable interface. If you want to serialize one of your classes, then the class must implemented in the Serializable interface. To implement the serializable interface, convert a class into the series of bytes and when serializable object might reference your class. Serializable classes are useful when you wanted to persist cases of the class or send them over wire.

. Where is the bootstrap program usually located?

Answers

Answer and Explanation:

The bootstarp loader is also know as bootstrapping a bootstrap loader is usually located in EPROM (erasable programmable read only memory). It is a non volatile memory. The booststrap loader is automatically exicuted by the processor when we turn on the computer.Non volatile memory is that memory in which retain their content even when the power is swithed off.

Answer: Bootstrap program is generally found in the ROM (read only memory) else EEPROM (Electrically erasable programmable read-only memory)

Explanation:Bootstrap loader or program is referred as the program that gets into action or execution when there is the rebooting process in the operating system and it initializes it. It is usually located in EEPROM of the system. After the restarting of the computer system , all the loaded data gets transferred into the RAM(Random access memory).

.Compositionally designed systems have the followingcharacteristics except:
A.dynamic definition B.classes built from componentclasses C.encapsulation D.white-box reuse

Answers

Answer: C) encapsulation

Explanation:

 As, encapsulation is the process by which the data is included from the protocol of the upper layer into lower layer of the protocol in the computer networking. Basically, in the networking it is the method of abstraction, as it allowed different functions by adding different layer. In encapsulation, the IP encapsulated packet are sent over the data link layers protocol for example ethernet.

Write a for loop to print all elements in courseGrades, following each element with a space (including the last). Print forwards, then backwards. End each loop with a newline. Ex: If courseGrades = {7, 9, 11, 10}, print: 7 9 11 10 10 11 9 7

Answers

Answer:

JAVA program to display the array elements both forward and backward is given.

public class MyProgram {

   public static void main(String args[]) {    

     int len = 5;

     int[] courseGrades = new int[len];      

     courseGrades[0] = 7;

     courseGrades[1] = 10;

     courseGrades[2] = 11;

     courseGrades[3] = 9;

     courseGrades[4] = 10;      

     System.out.println("The elements of array are ");

     for(int i=0; i<len; i++)

     {

         System.out.print(courseGrades[i]+" ");

     }  

// new line is inserted    

     System.out.println();      

     System.out.println("The elements of array backwards are ");

     for(int i=len-1; i>=0; i--)

     {

       // elements of array printed backwards beginning from last element

       System.out.print(courseGrades[i]+" ");

     }

// new line is inserted    

     System.out.println();  

   }

}

OUTPUT

The elements of array are  

7 10 11 9 10  

The elements of array backwards are  

10 9 11 10 7  

 

Explanation:

This program uses for loop to display the array elements.

The length of the array is determined by an integer variable, len.

The len variable is declared and initialized to 5.

int len = 5;

The array of integers is declared and initialized as given.

int[] courseGrades = new int[len];

We take the array elements from the question and initialize them manually.

First, we print array elements in sequence using for loop.

for(int i=0; i<len; i++)

To display in sequence, we begin with first element which lies at index 0. The consecutive elements are displayed by incrementing the value of variable i.

The array element is displayed followed by space.

System.out.print(courseGrades[i]+" ");

Next, we print array elements in reverse sequence using another for loop.

for(int i=len-1; i>=0; i--)

To display in reverse sequence, the last element is displayed first. The previous elements are displayed by decrementing the value of variable i.

At the end of each for loop, new line is inserted as shown.

System.out.println();

The length and elements of the array are initialized manually and can be changed for testing the program.

Loops are used to perform operations that would be repeated in a certain number of times; in other words, loops are used to perform repetitive and iterative operations

The loop statements are as follows:

for(int i = 0; i<sizeof(courseGrades)/sizeof(courseGrades[0]);i++){

       cout<<courseGrades[i]<<" ";

   }

cout<<endl;

   for(int i=sizeof(courseGrades)/sizeof(courseGrades[0]) - 1; i >=0; i--){

       cout<<courseGrades[i]<<" ";

   }

cout<<endl;

The flow of the above loops is as follows

The first for loop prints the elements in a forward order.The second for loop prints the elements in a backward order.

Read more about loops at:

https://brainly.com/question/11857356

What is the comment marker in Python? ("character marker" means the sequence of characters that indicates the beginning of a comment.)

Answers

Answer:

The # marker is used to mark a line comment in python.

Explanation:

The line that starts with # is a comment.Python will ignore the lines that starts with #.These comments can be used to add extra information in the python code.

For example:-

Following is the python code with comments.

names=['sam','optimus','bumblebee'] #names is the list of transformers characters.

for i in names:

     print(i)  #printing the names.

There are 2 comments in the python code written above.These are ignored by python.

If the list above is named list1 and is implemented as a list, whatstatement would you use to find the number ofelements?list1.size()list1.numElementslist1.lengthlist1.contains

Answers

Answer:

list1.size()

Explanation:

In order to find the number of elements in a List , we can use the size() method defined in the java.util.List interface.

This method returns an integer which corresponds to the number of elements in the list.

The usage syntax example is as follows:

int num = list1.size();

If the list referenced by list1 contains 6 elements, then this method will return the value 6.

Which of the following statements isNOT true about abstract data types (ADTs)?A list is anexample of an ADT.ADTs hide theimplementation details of operations from users.Java provides allthe ADTs you need, therefore you do not need to create any newones.An ADT is anabstraction of a commonly appearing data structure.

Answers

Answer:

Java provide all the ADTs you need,therefore you do not need to create any newones.

This statement is not true.

Explanation:

ADTs are those data types which we use but we didn't know their inner working that is how it is working what is happening inside.It is commonly used for Data Structures for example:- In stack we use push and pop operations to insert and to delete element from a stack respectively but we didn't know how it is happening inside.How the stack is implemented and etc.Java provides most of the ADT's but not all.

The statement that is wrong as regards abstract data types in this question is C: Java provides all the ADTs you need, therefore you do not need to create any new ones.

The abstract datatype can be regarded as special kind of datatype, whereby the behavior of the data is been defined by a set of values as well as a set of operations.

ADTs can perform operation such as hiding of  the implementation details of operations from users. It can be regarded as an abstraction of data structure that appear more often

Examples of ADT are;

StackQueueList

Therefore, option C is correct.

Learn more at:

https://brainly.com/question/23883878?referrer=searchResults

Relational DBMS are unable tostore multimedia objects. Does it underestimate RDBMS importance inreal world?

Answers

Answer:

 It may underestimate the importance of RDBMS in real world as, database system for storing the multimedia object images and images,consequently the objects and operation become more complex that is why, it is degrading the performance of the application in RDBMS. It is also dependence on the structure query language as, it is comparatively simple query optimization and unable to handle complex applications.

A relational database is a combination of many relation in the form of two dimensional table of rows and the columns containing tuples. The rows are called as records and the columns are called as attributes.

Write down the complete procedure for creating ExcelSheet.

Answers

Answer:

The complete procedure for creating Excel Sheet:

Excel sheets is defined as which are typically in tabs near the bottom left hand corner of the window, when a sheet gets open, it can only be viewed one at a time, however you can generated formulas and select the data from other sheets that can be used on another sheet's formula. Separated sheets are valuable for inserted separate charts and graphs, organizing the information from sheet.You are given three sheets with any new excel sheet.The default names are Sheet 1, Sheet 2, and Sheet 3 and are named on the tabs. These names can be changed accordingly by clicking on the tab name.We can also add the boundaries and label the rows.

After you create an array variable, you still need to ____ memory space.

a.
reserve

b.
create

c.
organize

d.
dump

Answers

Answer:

Answer is (a) reserve

Explanation:

Usually when we create an array variable, in some language the memory is allocated automatically. But in some the memory is not allocated automatically. So we need to reserve the memory space for the array.

For example in C++ dynamic memory allocation we need to allocate memory using new keyword.

Write the sum of products, the canonical product of sums, theminterm shorthand and the maxterm shorthand for the following:

F(A,B,C) = A'B'+ AB'C + A'B'C'

Answers

Answer:

SOP=AB'+B'C

POS=B'(A'+C)

Shorthand Minterms=m₀+m₁+m₅

Shorthand Maxterms=M₃+M₂+M₄+M₆+M₇

Explanation:

For the full explanation of this question refer to the image attached which is of the k-Map of F.As we can see in the k-map that there are only 3 ones.by making 2 pairs of 1 we get the SOP expression.

Rest of them are zero from there we will get the POS expression.

The one's in the k-map represent the Minterms and 0's represent Maxterms and the number written in the box is their respective minterm and maxterm number.Minterms are represented by m and maxterms are represented by M.

Why do we need the binary system?

Answers

Answer:

We need to have binary numbers because that is how computers process data.

Explanation:

A while loop is somewhat limited, because the counter can only be incremented by one each time through the loop.



True False

Answers

Answer:

False

Explanation:

In a while loop we can increment the counter by any number that we wish. It is not that the counter can only be incremented by one each time through the loop.

Below is an example of a while loop with counter incremented by 5 each time.

int count=0;    //initialize count to 0

while(count<50){    //continue the loop till count is lesser than 50

  cout<<count;   //display the value of count

  count = count + 5;    //increment counter by 5 each time

}

Final answer:

The statement is false; a while loop can increment a counter by any amount based on the code within the loop's body.

Explanation:

The statement that a while loop is limited because the counter can only be incremented by one each time through the loop is false. In programming, a while loop can be used to increment or alter a counter variable by any amount, as dictated by the statements within the loop's body. The control of a while loop is based on a condition, and as long as the condition remains true, the loop will continue to execute.

For example:

int counter = 0;
while (counter < 10) {
   counter += 2; // Increment counter by 2
}

In this example, the counter variable starts at 0 and increases by 2 on each iteration of the loop. You can increment the counter by any number, or even apply other operations to change its value in complex ways.

True or False and WHY:
Constructors can have names different from theirclasses.

Answers

Answer:

False

Explanation:

Constructors have to have the same name as their classes for proper syntax, if their names are different it will result in an error. Methods contained within the class can/should have different names, it is allowed because methods require return types while constructors cannot have return types.

Memory cache is referred to as ______. A. SRAM c. SROM b. DRAM d. DROM

Answers

Answer:

Answer is A. SRAM

Explanation:

Memory cache is called static RAM.

Compare and contrast the role that business users play when software is developed using Waterfall and Agile software development methodologies.

Answers

Answer: Both Agile and waterfall model are software development models to deliver a final outcome in the form of a software product. Waterfall model is sequential process with the requirements beings rigid and defined before beginning the software development.

Agile method basically  concerned with the requirements of the client. Here both testing and development is carried out at the same time.

Explanation:

More differences between the two include :

Waterfall model is easy to manage whereas in agile model as the the client requirements changes and wants more functionalities is becomes a bit more difficult to manage. the role of project manager is very crucial in waterfall model whereas the role of developers ans testers is more important in Agile model.

What is the output of the following code segment? int n = 0; for (int k = 0; k< 2; k++) {n=n +2;} cout << n; oo 0 1 O O O

Answers

Answer:

4

Explanation:

The loop is used to execute the part of code or statement again and again until a condition is not true.

syntax of for loop:

for(initialize; condition; increment/decrement){

   statement;

}  

in the question, the value of n is zero.

then, for loop check the condition k<2, initially the value of k is zero. so, the condition is true and execute the code n = 0 +2=2

Then, k is increment by 1. so, the value of k is 1.

then, again loop run and check the condition 1<2, it true. then n = 2+2=4.

then, k is increment by 1. so, the value of k is 2.

Then, again check the condition 2<2, condition false and program terminate the loop and finally print the value 4.

Which of the following can be used to record the behavior of classes?

A) Javadoc comments

B) Nouns and verbs in the problem description

C) Polymorphism

D) UML notation

Answers

Answer:

A) Javadoc comments

Explanation:

It is used for documenting the java source code in HTML and java code documentation. The difference between multi-line comment and javadoc is that ,javadoc uses extra asterisk, For example-

/**

* This is a Javadoc

*/

It is used to record the behavior of classes.There are various tags used in this like @author,{@code},@exception and many more.

The collection of all component frequencies iscalled _____________

a. Frequency Spectrum

b. Bandwidth

c. Throughput

d. None of the given

Answers

Answer:

The answer is Frequency Spectrum.

Explanation:

The frequency spectrum is range of all component frequencies.It contains all the waves which are as following:-

Gamma Rays

X-Rays

Ultraviolet

Visible light.

Infrared

Micro wave

Radio wave

These all waves have their range of frequencies.The waves that are visible to us is only the visible light.

Write a C++ programthat reads in the side of a square and prints out a pattern on$

symbols representing thatsquare. The program should work for side sizes between

2 and 10. For example, ifa size of 4 is entered, the following output should be

produced:

$$$$

$$$$

$$$$

Answers

Answer:

#include<iostream>

using namespace std;

//main function

int main(){

   //initialize the variables

   int side;

   //print the message

   cout<<"Please enter the side of square: ";

   cin>>side;  //read the vale and store in the variable.

   // for loop

   for(int i=1;i<=side;i++){  //lop for rows

       for(int j=1;j<=side;j++){   //loop for column

           cout<<"$";  //print the '*'

       }

       cout<<endl;

   }

}

Explanation:

Create the main function and declare the variable side.

print the message on the screen for the user and then store value enter by the user on the variable side.

take the nested for loop for print the pattern.

nested for loop means, loop inside another loop it is used for print the pattern having rows and columns.

the first loop updates the row number and the second the loop print the character '$' in the column-wise.

in the code,

if i = 1, for loop check the condition 1 <= 5 if the value of side is assume 5.

condition is true and the program moves to the second for loop and starts to print the character '$' five times after that, print the new line.

then, the above process repeat for different rows and finally, we get the pattern in square shape.

Mergesort uses the divide-and-conquer technique to sort a list.

True

False

Answers

Answer:

True: Merge Sort sorts a list using divide-conquer approach.

Merge_Sort(B,p,n)  //p is the starting index of array B and n is the last index.

1. if(p<n)

2.        q ← (p+n)/2    //divides the list into two sub-lists

2.        Merge_Sort(B, p, q) //sorts the left half

3.        Merge_Sort(B, q+1, n) //sorts the right half.

4.        Merge(B, p, q, n)

Merge(B, p, q, n)

1.l ← q-p+1.  //no. of elements in left half

2.m ← n-q  //no. of elements in right half.

3.for x ← 1 to l

4.      Left[x] = B[p+x -1] //The elements of left half are copied to Left array

5.for y ← 1 to m.

6.      Right[y]= B[q+y]  //The elements of right half are copied to right array

7. x ← 1, y ←1

8.for z ← p to n.

9.      if( Left[x] ≤ Right[y] ) // to merge the two lists Left and Right, the    //elements are compared.

10.     {   A[z] ← Left[x]   //smaller one comes to the merged list.

11.          x++. }

12.    else

13.      {   A[z] ← Right[y]

14.          y++ }

Explanation:

The Merge_Sort(A, p, n) algorithm first divides the whole array into two halves. Then again divides the sub-lists into it's halves and so on.

Then using merge algorithm it compares the elements of both halves one by one and keep it in sorted order.

Please briefly describe your QA / testing process?

Answers

Answer: The QA/Testing process consist of the following:

1. Requirement specification

2. Reviewing the code.

3. Unit testing

4. Integration test

5. Performance testing

Explanation:

We start of by the requirement specification try to gather all the information accurately. Then begins the coding process where there is review of the code so that they perform their desired purpose. After modules are completed we perform unit testing of the different modules individually and also do the integration testing once all the modules are completed. At the end we perform the performance testing to take a note on their desired output and other quality parameters.

What are minimum numbers of pins required for serialcommunication? Also write

their names?

Answers

Answer:

Serial communication are connected using 2 types of connector

Explanation:

The two types of connector for serial communication are:

1. Nine pin connector.

2. Twenty five pin connector.

for 9 pin connector we have:

pin 1 = data carrier detect

pin 2= received data

pin 3= transmitted data

pin 4= data terminal ready

pin 5= signal ground

pin 6= data set ready

pin 7= request to send

pin 8= clear to send

pin 9= ring indicator

Here, the minimum number of pins can be pin 2,3 and 5 which are receive, transmit and ground signal to establish a communication without handshaking.

The minimum number of pins actually depend on the type of software we use.

Other Questions
RST= XYZ. If RT = 10, XY = 18, and YZ = 12, what is XZ? Which option best describes the term caricature? What are keratinocytes? What is keratin? In the equation 4 Si2H3 + 11 O2 8 SiO2 + 6 H2O , what would be the product(s)?aH2ObSiO2cboth dneither A piston in a gas supply pump has anarea of 500 cm2 and it moves a distanceof 30 cm during one stroke. The pumpmoves the gas against a fixed pressureof 4000 Pa. The work done by the pistonduring on strikes is A. 60 jouleB. 70 jouleC. 55 joulD. None 5. There are 396 persons in a theater. If the ratio of women to men is 2:3, and the ratio of men tochildren is 1:2, how many men are in the theater? Find the volume of the solid obtained by rotating the region bounded by the x-axis, the y-axis, the line y=2, and y=e^x about the y-axis. Round your answer to three decimal places. A recipe that makes 3 dozen peanut butter cookies calls for 1 and 1/4 cups of flour. How much flour would you need to make 7 dozen cookies? Please help me with this problem Sally has 6 red flags, 4 green flags, and 2 white flags. How many 12-flag signals can she run up a flag pole? A company builds a new wing for its east branch and knows that each additional room will gain $1200 of profit. The construction company will cost $44,000 to construct the wing.How many rooms are need to break even? (Hint: You must PAY the fee to the construction company.)If you wanted to make twice as much profit as you spent, how many rooms would need to be built? Which state is in the sunbelt?A.) montana B.) Pennsylvania C.) Illinois D.) Florida Pregnant women generally need to take a supplement that contains A forest contains both spruce trees and pine trees. Young spruce trees need shade in order to mature. Young pine trees need full sunlight in order to mature. How do spruce trees most likely affect the environment's carrying capacity for pine trees? A. Spruce trees reduce the sunlight available to young pine trees, thus decreasing the environment's carrying capacity for pine trees. B. Spruce trees help young pine trees adapt to growing in shade, thus increasing the environment's carrying capacity for pine trees. C. Spruce trees prevent other trees from competing with pine trees, thus increasing the environment's carrying capacity for pine trees. D. Spruce trees encourage the growth of other trees that need sunlight, thus decreasing the environment's carrying capacity for pine trees. C-(-8) = 5 + 2CWhat is the answer? If you dive under-water, you notice an uncomfortable pressure on your eardrums due to the increased pressure. The human eardrum has an area of about 70 mm2 (7105m2), and it can sustain a force of about 7 N without rupturing. Part A If your body had no means of balancing the extra pressure (which, in reality, it does), what would be the maximum depth you could dive without rupturing your eardrum? Perine Company has 2,000 pounds of raw materials in its December 31, 2016, ending inventory. Required production for January and February of 2017 are 4,000 and 5,000 units, respectively. 2 pounds of raw materials are needed for each unit, and the estimated cost per pound is $6. Management desires an ending inventory equal to 25% of next months materials requirements. Prepare the direct materials budget for January. Thomas Jefferson founded the Federalist Party true or false There's a linear relationship between the number of credits a community college student is enrolled for and the total registration cost. A student taking 9 credits pays $ 983 to register. A student taking 13 credits pays $ 1411 to register. Let x represent the number of credits a student enrolls for and let y represent the total cost, in dollars. Write an equation, in slope-intercept form, that correctly models this situation. VW is parallel to YZ in the map below.