We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

Graded Discussion: CS401

Scenario

Suppose you are a programmer and using assembly language rather than a higher-level language for your projects. Do you think writing programs in assembly language is easier than any high-level language in context of real time systems.

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 1940

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Replies to This Discussion

Assembly Language

Today, assembly languages are considered very low level-that is, they are not as convenient for people to use as more recent languages. At the time they were developed, however, they were considered a great leap forward. To replace the Is and Os used in machine language, assembly languages use mnemonic codes, abbreviations that are easy to remember: A for Add, C for Compare, MP for Multiply, STO for storing information in memory, and so on. Although these codes are not English words, they are still- from the standpoint of human convenience-preferable to numbers (Os and 1s) alone. Furthermore, assembly languages permit the use of names- perhaps RATE or TOTAL-for memory locations instead of actual address numbers. just like machine language, each type of computer has its own assembly language. 

The programmer who uses an assembly language requires a translator to convert the assembly language program into machine language. A translator is needed because machine language is the only language the computer can actually execute. The translator is an assembler program, also referred to as an assembler. It takes the programs written in assembly language and turns them into machine language. Programmers need not worry about the translating aspect; they need only write programs in assembly language. The translation is taken care of by the assembler. 

Although assembly languages represent a step forward, they still have many disadvantages. A key disadvantage is that assembly language is detailed in the extreme, making assembly programming repetitive, tedious, and error prone. This drawback is apparent in the program in Figure 2. Assembly language may be easier to read than machine language, but it is still tedious. 

High-Level Languages 


The first widespread use of high-level languages in the early 1960s transformed programming into something quite different from what it had been. Programs were written in an English-like manner, thus making them more convenient to use. As a result, a programmer could accomplish more with less effort, and programs could now direct much more complex tasks. 

These so-called third-generation languages spurred the great increase in data processing that characterized the 1960s and 1970s. During that time the number of mainframes in use increased from hundreds to tens of thousands. The impact of third-generation languages on our society has been enormous. 

Of course, a translator is needed to translate the symbolic statements of a high-level language into computer-executable machine language; this translator is usually a compiler. There are many compilers for each language and one for each type of computer. Since the machine language generated by one computer's COBOL compiler, for instance, is not the machine language of some other computer, it is necessary to have a COBOL compiler for each type of computer on which COBOL programs are to be run. Keep in mind, however, that even though a given program would be compiled to different machine language versions on different machines, the source program itself-the COBOL version-can be essentially identical on each machine.

pora artical utha ky paste kr dia hehheheheheh 

Real Time System

In computer science, real-time computing (RTC), or reactive computing describes hardware and software systems subject to a "real-time constraint", for example from event to system response. Real-time programs must guarantee response within specified time constraints.

So in the context of real time systems it is easier to write programs in assembly language. Because high level languages use compilers that add more/extra information(or interpret problem in its own predefined way) in final executable program. So we can't ensure that system will work in according to the time constraints.

At the other hand assembly program is the pure program and final executable program will be the exactly that we specify the task in the coding(no less or extra information will be added by the compiler/assembler and program will work exactly according to the given task)....

BUT for better results hardware should also be designed for real time computing..

Bongian na maro right answer dhondho.

I mean don't beat about the bush and come to the point.

Thanks.  +►r_t◄

real time system ki samajh aae gi tou kuch karen ge.

You only have to describe that 

 Do you think writing programs in assembly language is easier than any high-level language ......

to the point ans plz

i have done now i will check who is right

Answer only 7 or 8 line there is very long?

You have to write your answer in just 5 or 4 lines. You can take concept from the following link. 

  Assembly level language is very difficult language for real time systems.

 https://www.quora.com/Do-you-think-writing-programs-in-assembly-lan...

Assembly Language
Today, assembly languages are considered very low level-that is, they are not as convenient for people to use as more recent languages. 
At the time they were developed, however, they were considered a great leap forward. 
To replace the Is and Os used in machine language, assembly languages use mnemonic codes, abbreviations that are easy to remember: 
A for Add, C for Compare, MP for Multiply, STO for storing information in memory, and so on. 
Although these codes are not English words, they are still- from the standpoint of human convenience-preferable to numbers (Os and 1s) alone. 
Furthermore, assembly languages permit the use of names- perhaps RATE or TOTAL-for memory locations instead of actual address numbers.
just like machine language, each type of computer has its own assembly language. 

The programmer who uses an assembly language requires a translator to convert the assembly language program into machine language. 
A translator is needed because machine language is the only language the computer can actually execute. 
The translator is an assembler program, also referred to as an assembler. It takes the programs written in assembly language and turns them into machine language. 
Programmers need not worry about the translating aspect; they need only write programs in assembly language. The translation is taken care of by the assembler. 
Although assembly languages represent a step forward, they still have many disadvantages. 
A key disadvantage is that assembly language is detailed in the extreme, making assembly programming repetitive, tedious, and error prone. 
This drawback is apparent in the program in Figure 2. Assembly language may be easier to read than machine language, but it is still tedious. 

High-Level Languages 

The first widespread use of high-level languages in the early 1960s transformed programming into something quite different from what it had been.
Programs were written in an English-like manner, thus making them more convenient to use. As a result, a programmer could accomplish more with less effort, 
and programs could now direct much more complex tasks. 

These so-called third-generation languages spurred the great increase in data processing that characterized the 1960s and 1970s. 
During that time the number of mainframes in use increased from hundreds to tens of thousands. The impact of third-generation languages on our society has been enormous. 

Of course, a translator is needed to translate the symbolic statements of a high-level language into computer-executable machine language; this translator is usually a compiler. 
There are many compilers for each language and one for each type of computer.
Since the machine language generated by one computer's COBOL compiler, for instance, is not the machine language of some other computer, 
it is necessary to have a COBOL compiler for each type of computer on which COBOL programs are to be run. Keep in mind, however,
that even though a given program would be compiled to different machine language versions on different machines, 
the source program itself-the COBOL version-can be essentially identical on each machine.

RSS

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.