Jump to content
BrainDen.com - Brain Teasers
  • 0


Guest
 Share

Question

My friend and I had a recent discussion on the classification of the language 'c'.

I said "c is a middle level language".

He said "c is classified under high level language, since there are only two general classifications: high level and low level".

Who is wrong?

Link to comment
Share on other sites

15 answers to this question

Recommended Posts

  • 0

a description of C:

C is an imperative (procedural) systems implementation language. It was designed to be compiled using a relatively straightforward compiler, to provide low-level access to memory, to provide language constructs that map efficiently to machine instructions, and to require minimal run-time support. C was therefore useful for many applications that had formerly been coded in assembly language.

Despite its low-level capabilities, the language was designed to encourage...blablabla

Link to comment
Share on other sites

  • 0
a description of C:

C is an imperative (procedural) systems implementation language. It was designed to be compiled using a relatively straightforward compiler, to provide low-level access to memory, to provide language constructs that map efficiently to machine instructions, and to require minimal run-time support. C was therefore useful for many applications that had formerly been coded in assembly language.

Despite its low-level capabilities, the language was designed to encourage...blablabla

looks like wiki agrees - I had it the wrong way round, based on english needs to be simplified and direct english translation syntax which is very high level - hope i made some sense
Link to comment
Share on other sites

  • 0

C is a general purpose structured language. Though C resembles with high level languages like Pascal or FORTRAN-77, it has additional features however that allows it to be used at a lower level. Hence it is the bridging gap between machine language and high level language.

This is the introduction given by a textbook which I am using to learn C.

Link to comment
Share on other sites

  • 0
lol, looks like an old book, if it mentions Pascal and FORTRAN ;D

yeah...I HAVE to study from that book. The syllabus is outdated! All hail the Mumbai University :P

You will be surprised to know that I have to study FOXPRO!!!! <_<

What do I say more? :rolleyes:

Link to comment
Share on other sites

  • 0
yeah...I HAVE to study from that book. The syllabus is outdated! All hail the Mumbai University :P

You will be surprised to know that I have to study FOXPRO!!!! <_<

What do I say more? :rolleyes:

Just thought that I would add the fact that Fortran is so, so obsolete and passe' but my bro is now a successful programmer thanks to cobal and pinball machines. He is 43 years old and dealing with my neices at 3 years old in California. happy day you all.

Edited by akaslickster
Link to comment
Share on other sites

  • 0
neither, it is low level

Hi unreality, I'm surprised to hear that. Can you please mention the sources. I always thought that a low level language is the one that is:

1) Not English like.

2) Hence difficult for humans to read and understand the logic.

3) Communicates directly with the microprocessors.

Where as, C is:

1) English like.

2) Hence easy for humans to read and understand the logic.

3) Needs compilers to communicate with the microprocessors.

Please Justify/Clarify.

Link to comment
Share on other sites

  • 0

'C' is considered a low-level language because you can access your hardware directly and do things that are not possible with higher level programming languages. E.g. format a single track on a floppy/hard-disk with unusual sector size, tinker with memory - peek/poke.

Link to comment
Share on other sites

  • 0
My friend and I had a recent discussion on the classification of the language 'c'.

I said "c is a middle level language".

He said "c is classified under high level language, since there are only two general classifications: high level and low level".

Who is wrong?

uummm i thought it was a low level? :mellow:

Link to comment
Share on other sites

  • 0

I would say it is a low-level language because almost all of the basic constructs of C map directly to series of instructions to your machine. The "high-level" part comes in because it can support abstract data types from basics such as arrays to more advanced ones like structs. These things are usually found in higher-level languages, such as C++.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...