What are the valid control blocks in MFS?
MIF,MOF,DIF,DOF
DIF,DOF,MID,MOD
DIF,DOF,MFLD,DFLD
None of the above
Given: 1. import java.util.*; 2. public class Example { 3. public static void main(String[] args) { 4. // insert code here 5. set.add(new Integer(2)); 6. set.add(new Integer(1)); 7. System.out.println(set); 8. } 9. } Which code, inserted at line 4, guarantees that this program will output [1, 2]?
Set set = new TreeSet();
Set set = new HashSet();
Set set = new SortedSet();
List set = new SortedList();
Set set = new LinkedHashSet();
64-bit os means
CPU register is 64 bit
It stores information in hard disk as 64-bit format
Data in main memory stored in 64-bit
OS is developed using 64-bit compiler
What is the windows version of WIN XP os
4.x
5.x
6.x
7.x
Which one is integral part of Windows Vista OS
MS office
IE
Windows Mail
Windows Media Player
We cannot create following named folder in windows
foo
nul
xp
reg
If windows pc is not restarted for a long time
Memory overflow error may occure
CPU will slow down
Hard disk operations may be very slow
May slow down pc performance due to more memory fragmentation.
Given 10. class Foo { 11. static void alpha() { /* more code here / } 12. void beta() { / more code here */ } 13. } Which two statements are true? (Choose two.)
Foo.beta() is a valid invocation of beta().
Foo.alpha() is a valid invocation of alpha().
Method beta() can directly call method alpha().
Method alpha() can directly call method beta().
Given: 11. public static void parse(String str) { 12. try { 13. float f = Float.parseFloat(str); 14. } catch (NumberFormatException nfe) { 15. f = 0; 16. } finally { 17. System.out.println(f); 18. } 19. } 20. public static void main(String[] args) { 21. parse("invalid"); 22. } What is the result?
0.0
Compilation fails.
A ParseException is thrown by the parse method at runtime.
A NumberFormatException is thrown by the parse method at runtime.
Given: 10. class Line { 11. public static class Point {} 12. } 13. 14. class Triangle { 15. // insert code here 16. } Which code, inserted at line 15, creates an instance of the Point class defined in Line?
Point p = new Point();
Line.Point p = new Line.Point();
The Point class cannot be instatiated at line 15.
Line l = new Line() ; l.Point p = new l.Point();