TCS Exam
Which one of the following is NOT an object oriented or Object Based Programming language?
Answer (Detailed Solution Below)View answer ▾Hide ▴
Answer: Option D — C
Detailed Solution
C is a procedural language with no classes or objects.
Perl, Ruby and Python all support object-oriented programming.
💬 Discussions on this question
Ask a doubt ›Still stuck on this question? Ask our faculty and fellow students — answers appear here.
Ask a doubtMore Computer Language Questions
View all ›- Q1.Which of the following is a correct way to declare a variable in C?
- Q2.Which statement is true about compilers?
- Q3.What is the purpose of the 'break' statement in C?
- Q4.__ are used to compare two quantities and, depending on their relation, take certain decisions for that comparison.
- Q5.What is the correct syntax for declaring a variable in C?
More Computer Awareness Questions
- Q1.Which of the following is hardware, not software?Organization, CPU, I/O Devices
- Q2.What is stored in an email address?Internet
- Q3.To take any text from its original place to another place without deleting it is calledMicrosoft Office
- Q4.________ are attempts by individuals to obtain confidential information from you by falsifying their identity.Computer Security
- Q5.Which of the following is used to move a document (or selected text)?Microsoft Office
Computer Language — Preparation
This question tests your understanding of Computer Language, a key topic in the Computer Awareness section. The detailed solution above uses a step-by-step approach to show the reasoning, and where available, a shortcut that helps you solve similar questions in under 90 seconds during the actual exam.
A computer language is a formal language used to write instructions for a computer. This topic covers the levels of programming languages: machine language (binary code the CPU runs directly), assembly language (which uses short mnemonics such as ADD and MOV), and high-level languages such as C, C++, Java and Python, which are closer to human language. It also covers language translators (assemblers, compilers and interpreters), generations of programming languages from 1GL to 5GL, programming paradigms (procedural, object-oriented, functional and logic programming), and basic concepts such as source code, object code, syntax errors and logical errors. Exam questions often ask which translator is used for which language level, which language is machine-dependent, and the main features of object-oriented programming (encapsulation, inheritance, polymorphism and abstraction). Practise the computer language questions below. Each answer includes an explanation.