Programming Quiz questions

Q21- The slogan 'Write once, run anywhere' is related to which of the following programming languages?
A) COBOLB) Java
C) HTMLD) XML
Ans:-  Java
Q22- A set of changes to a computer program and its supporting data designed to update, fix, or improve it. What is the name given to this term?
A) PatchingB) Bugging
C) DefragmentationD) All of the Above
Ans:-  Patching
Q23- What is the correct value of the Z in python? Z=100/25 Print(Z)
A) 4B) 4
C) 0.4D) 40
Ans:-  4
Q24- What is not a empty tag example?
A) B) 
C) D) 
Ans:-  
Q25- Which HTML attribute is used to define inline styles?
A) linkB) script
C) styleD) None of these
Ans:-  style
Q26- Which one of the following is not a linear data structure?
A) ArrayB) Binary Tree
C) Queue D) Stack
Ans:-  Binary Tree
Q27- If program can cope data errors, such program can be termed as
A) robustB) reliable
C) unreliableD) stable functioning
Ans:-  robust
Q28- Which Feature of OOP illustrated the code reusability?
A) PolymorphismB) Abstraction
C) EncapsulationD) Inheritance
Ans:-  Inheritance
Q29- ?: is: a/an
A) Conditional operatorB) Assignment operator
C) InequalityD) Logical AND
Ans:-  Conditional operator
Q30- Code red is a(n) ----------
A) Word Processing SoftwareB) Antivirus
C) VirusD) Photo Editing Software
Ans:-  Virus
12345678910