Question

In: Computer Science

Why is assembly language considered more user friendly than machine language?


Why is assembly language considered more user friendly than machine language?  

How does a low-level programming language differ from a high-level programming language?  

Discuss five protocols that people use when communicating with each other over the internet.  

What steps would you take to safeguard your computer against computer viruses?

Solutions

Expert Solution

Question 1:

A machine language is a language which the computer can understand. Therefore a program written in machine language consists of the sequence of 0's and 1's which are understandable by computer. But it is very much difficult to write the code, debugging as the only content of the program is sequence of 0's and 1's. To overcome such problem Assembly language is introduced where each instruction is an understandable mnemonics with specified address. Therefore writing and debugging the code becomes easier through assembly language as it provides understandable mnemonics.

during the executiuon of the assembly language program, the assembler converts the instruction from assembly language to machine language so that the instructions are clear to computer.

Therefore Assembly language is considered to be more user friendly than Machine language.

Question 2:

Low- level programming language differs from high level programming language in that high level programming language is very much similar to human language.It is written in simple english laguage which is very much understandable by programmar. Therefore writting and debugging the code become easier(though it takes more time to execute than low level programming language).

On the other hand low level programming language is far from human language. Therefore it is a bit difficult to write and debug complex programs in low level programming language(though it takes less time to execute than high level programming language.

Question 3:

The five protocols are:

Application layer:

FTP(File Transfer Protocol) to transfer file to and from remote machine.

SMTP(Simple Mail Transfer Protocol) to transfer and use mail service from one application to another.

Transport layer:

TCP(Transmission Control Protocol) for connection oriented and communication(Uses port number to detect application to which the message is needed to be sent).

UDP(User Datagram Protocol) for connection less unreliable communication.It is used for short request-response communication between client and server. It is also used in interactive application which does not tolerate any uneven delay of getting message.

Network layer

IP(Internet protocol) to transfer packet from source to destination(destination and source IP address is provided).

ARP(Address Resolution Protocol) to map from Receiver's IP address to its MAC address.

Question 4:

A computer virus is  nothing but a computer program which executes in your computer without your knowledge and interrupts normal computer operation .

5 steps you should follow to safeguard your computer from viruses are:

Step 1: Install firewall. Firewall protects your compter by providing a barrier between your compuer and internet to prevent any unauthorized access to your system.

Step 2:Install antivirus software and update regularly. Antivirus software prevents viruses from accessing any software or from interrupting normal execution of the program.

Step 3: Install anti spyware software which protects your system from Spyware attack. Spyware is a program which collects your personal information.

Step 4:Use proxy. Proxy server hides your IP address while accessing internet. This prevents any unauthorized user to know your IP address. Without knowing IP address it is not possible to send or retrieve file to or from your system.

Step 5: Avoid to download mail or any file from internet which makes suspicious to you.


Related Solutions

MIPS Assembly LanguageWrite a MIPS assembly language program that asks the user toinput an...
MIPS Assembly LanguageWrite a MIPS assembly language program that asks the user to input an integer and then prints out a string that shows how that integer should be encoded using 16 bits. Your program should handle both positive and negative valued inputs. Your program should also print out an error message if the given input cannot be expressed as a 16 bit signed integer.As an example, if the input is 12, your program should output “0000000000001100”. If the input...
Why was B.F Skinner considered more of a behaviorlist than a scientist?
Why was B.F Skinner considered more of a behaviorlist than a scientist?
1. Convert the machine language instructions into assembly language instructions: 7976C1 06
1. Convert the machine language instructions into assembly language instructions: 7976C1 06
An assembler translates assembly language to machine language instructions. A disassembler can be used to translate...
An assembler translates assembly language to machine language instructions. A disassembler can be used to translate the other way, from machine language to assembly language. For example, our 8086 emulator shows both the machine language bytes and the disassembler output while running a program (it also shows the original assembly code). The disassembled code is usually harder to read than the original assembly language program because some things are missing or may be incorrect. Write down one of the things...
In not more than four paragraphs, substantiate why women conversation is said or considered to be...
In not more than four paragraphs, substantiate why women conversation is said or considered to be typically inferior.
Why is ABC usually considered more accurate than traditional costing methods?
Why is ABC usually considered more accurate than traditional costing methods?
Write a mips assembly language program to ask the user to enter two integers A and...
Write a mips assembly language program to ask the user to enter two integers A and B and then display the result of computing the expression: A + 2B - 5.
Write a mips assembly language program that asks the user to enter an unsigned number and...
Write a mips assembly language program that asks the user to enter an unsigned number and read it. Then swap the bits at odd positions with those at even positions and display the resulting number. For example, if the user enters the number 9, which has binary representation of 1001, then bit 0 is swapped with bit 1, and bit 2 is swapped with bit 3, resulting in the binary number 0110. Thus, the program should display 6.
This is to be done using MIPS assembly language. Display the following menus, ask user to...
This is to be done using MIPS assembly language. Display the following menus, ask user to select one item. If 1-3 is selected, display message “item x is selected”, (x is the number of a menu item), display menus again; if 0 is selected, quit from the program. 1. Menu item 1 2. Menu item 2 3. Menu item 3 0. Quit Please select from above menu (1-3) to execute one function. Select 0 to quit
Can someone write a method in MIPS assembly language that asks the user for a hexadecimal...
Can someone write a method in MIPS assembly language that asks the user for a hexadecimal value and converts it into a decimal? I will thumbsup if its right
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT