Computer » Programming Languages
Which of the following enables an object , variable or a method in OOPs to take multiple forms?
Inheritance
Polymorphism
Encapsulation
Abstraction
Polymorphism : It is a OOPs concept that is refers the ability of an object/variable/method to take multiple forms.
Example: "Animal" class has different sub-classes like horse, fish, tiger etc. "Animal" class has one method called "Move" which will be defined in different ways in subclasses.
Like when for "horse" class it will be as "trotting" while for "Fish" class it will be "Swimming".
Inheritance : It refers to the ability of subclass to inherit features of the parent class. It leads to helps re-usability of code.
Encapsulation : It refers to binding of methods/variables/objects of one class together.
Abstraction : It refers to the hiding of the data.
Generalization : It refers to grouping of subclasses into one class. Like Permanent faculty and Guest
Computer » Programming Languages
What is the base of Octal system of coding?
5
8
10
16
In Octal coding system a value is represented by 3 bits which in general represents the decimal value from 0 to 7 with each digit having a weight or value of just 8 starting from the least significant bit (LSB).It has hence base of 8.
Computer » Programming Languages
Which of the following is considered as first high level programming language?
FORTRAN
PROLOG
BASIC
LOGO
* FORTRAN 'फॉर्मूला ट्रांसलेशन’ का संक्षिप्त रूप है।
* यह पहली उच्च स्तरीय भाषा के रूप में जानी जाती है, जिसका उपयोग वैज्ञानिकों और इंजीनियरों द्वारा गणितीय सूत्रों को आसानी से हल करने और जटिल वैज्ञानिक गणना करने के लिए किया जाता है।
* FORTRAN को 1957 में जॉन बैकस (IBM) द्वारा विकसित किया गया था।
Computer » Programming Languages
In programming repeating some statements is usually called
Compiling
Structure
Looping
Control structure
Computer » Programming Languages
In HTML tags consists of keywords enclosed within
angular brackets
parentheses
square brackets
flower brackets
Computer » Programming Languages
A computer programming language often used by children is
LOGO
PILOT
BASIC
JAVA
Computer » Programming Languages
A bug in a programme is a
Statement
Error
Signature
both
Computer » Programming Languages
A bug in a programme is a an
Statement
Error
Syntax
Both
Computer » Programming Languages
In C language the formatting character should be preceded by the symbol :
+
/
%
-
Computer » Programming Languages
The NOSHADE attribute in HTML
defines the thickness of the line
displays the line in red
displays the line in dark grey
displays the example in red
Computer » Programming Languages
In HTML B and B tags display the enclosed tend in
black colour
background
bold
bright
Computer » Programming Languages
The basic application of an AND gate in computers is for :
addition
subtraction
multiplication
division