Computer Applications
Given array int Z[ ] = {15, 16, 17} ; it will occupy …………… bytes in memory.
- 3
- 12
- 24
- 64
Related Questions
Polymorphism is broadly used in implementing ……………
- inheritance
- encapsulation
- abstraction
- literals
Give the output of the following
switch (x) { case 'M' : System.out.print ("Microsoft Teams"); break; case 'G': System.out.print ("Google Meet"); default: System.out.print("Any Software"); break; case 'W': System.out.print("Web Ex"); break; }when x = 'g'
- Google Meet
- Any Software
- Google Meet
Any Software - Web Ex
In …………… search, the algorithm uses the middle value of the array for the search operation.
- binary
- linear
- bubble
- selection
A single dimensional array contains N elements. What will be the last subscript?
- N
- N - 1
- N - 2
- N + 1