Time Left - 10:00 mins
Attempt now to get your rank among 61 students!
Question 1
How many 2-digit numbers greater than 40 can be formed by using the digits 1, 2, 3, 4, 6, 7 when repetition is allowed ?
Question 2
Which of the following command is used to update access and modification times of a file?
Question 3
How many subsets of {1, 2, 3, ....10} contain at least 7 elements ?
Question 4
Given R→ R+R|RR|R*|a|b|c and the string W = a+bc. What can you say abou the ambiguity of the grammar?
Question 5
What is the output of the following JAVA program?
class simple
{
public static void main(String[ ] args)
{
simple obj = new simple( );
obj.start( );
}
void start( )
{
long [ ] P= {3, 4, 5};
long [ ] Q= method (P);
System.out.print (P[0] + P[1] + P[2]+":");
System.out.print (Q[0] + Q[1] + Q[2]);
}
long [ ] method (long [ ] R)
{
R [1]=7;
return R;
}
} //end of class
- 61 attempts
- 0 upvotes
- 0 comments
Feb 1UGC NET & SET