novell netware placement paper
NOVELL NETWARE
WRITTEN TEST:
The written paper is of one hour duration and consists 30 questions which are divided into three sections:
Aptitude Section - 15 questions in 20 minutes.
Technical Section - 25 questions in 20 minutes.
C Programming Section - 15 questions in 20 minutes.
In the technical section, questions from Microprocessors, Operating Systems, and Computer Networks etc. are asked. All questions are multiple-choice type.
INTERVIEW:
The interview as usual lays stress on your technical stream. Questions from C, C++, Operating Systems, and Computer Networks will be asked. The panel will also ask about your favorite subject. You should have a good grasp on the subject because you will be grilled on those subjects.
TEST PAPERS:
NOVELL-1:
1. A - G are 7 consecutive +ve integers not necessarily in the same order
1) B is the middle number 2) D is 3 less than c
3) The difference between F & A is equal in magnitude and sign to the difference between E & C 4) Neither F nor C lies between E & G
a) What is the value of B-F?
a) 1 b) 2 c) -1 d) -2 e) cannot be determined
b) Which is greatest?
a) F b) C c) A d) E e) cannot be determined
c) Given both A & B are primes what is the lowest value of E?
a) 8 b) 6 c) 9 d) 12 e) cannot
2. Given that a, b, c, d, e each represent one of the digits between 1-9 and that the following multiplication holds
a b c d e
4
----------
e d c b a
What digit does e represent?
a) 4 b) 6 c) 7 d) 8 e) none
1. How many bytes do an array A (1:8, -2:2,1:5) requires for storage if each element of the array is 24 bits long.
a) 200 b) 480 c) 600 d) 800 e) none
2. begin
i: =0;
j: =0; | block d
loop:
if (i! = 0)
i: = i-1;
else
i: = i+1;
i: = i+1; | block a
j: = j+1; | block b
if (j <= 25)
goto loop;
end | block c
a) What is the value of i at [c] 2?
b) How many times is the go to executed 25?
c) How many times is the loop executed if i is initialized to 1in [d] 26
d) How many times is the loop entered if the block [b] is changed to j=j+1?
e) What is the value of i at [c] interchanging blocks [a] and [b]? 2?
Follow the instructions given below [From 1 to 8]
1. A cause B or C but not both
2. F occurs only if B occurs
3. D occurs if B or C occurs
4. E occurs if only c occurs
5. J occurs only if E or F occurs
6. H occurs if E occurs
7. D causes G, H or Both.
8. G occurs if F occurs.
Questions:
---------
1. If A occurs which of the following may occur
(i). F & G (ii) E & H (iii) D
Ans
(a) 1 only (b) 2 only (c) 3 only (d) 1,2,3 or 2 & 3 but not 1 (e) 1,2 & 3
2. If B occurs which must occur
Ans
(a) F & G (b) D & G (c) D (d) G & H (e) J
3. If J occurs which must occur
Ans
(a) E (b) Both E & F (c) Either B or C (d) B (e) Both B & C
4. Which may occur as a result by a cause not mentioned.
(I) D (II) A (III) F
Ans
(a) I only (b) II (c) I & II (d) II & III (e) I, II, III
5. If E occurs which cannot occur.
(a) F (b) A (c) D (d) C (e) J
Programs:
1. # include
int SumElement (int *, int);
void main (void)
{
int x [10];
int i=10;
for (; i ;)
{
i--;
*(x+i)=i;
}
printf ("%d", SumElement (x, 10));
}
int SumElement (int array [], int size)
{
int i=0;
float sum=0;
for (;i
sum+=array [i];
return sum;
}
2. # include
void main (void);
int printf (const char*,...);
void main (void)
{
int i=100,j=10,k=20;
int sum;
float ave;
char myformat []="ave=%.2f";
sum=i+j+k;
ave=sum/3.0;
printf (myformat, ave);
}
3. # include
void main (void);
void main (void)
{
int a [10];
printf ("%d", ((a+9) + (a+1)));
}
4. # include
void main (void);
void main (void)
{
struct s {
int x;
float y;
} s1={25,45.00};
union u {
int x;
float y;
} u1;
u1=(union u) s1;
printf ("%d and %f", u1.x, u1.y);
}
5. # include
void main (void)
{
{
unsigned int c;
unsigned x=0x3;
scanf ("%u", &c);
switch (c&x)
{
case 3: printf ("Hello!\t");
case 2: printf ("Welcome\t");
case 1: printf ("To All\t");
default: printf ("\n");
}
}
6. # include
int fn (void);
void print (int, int (*) ());
int i=10;
void main (void)
{
int i=20;
printf (i, fn);
}
void print (int i, int (*fn1) ())
{
printf ("%d\n", (*fn1) ());
}
int fn (void)
{
return (i-=5);
}
7. # include
void main (void);
void main (void)
{{
char numbers [5][6]={"Zero", "One", "Two", "Three", "Four"};
printf ("%s is %c", &numbers [4][0], numbers [0][0]);
}
int bags [5]={20,5,20,3,20};
void main (void)
{
int pos=5, *next ();
*next ()=pos;
printf ("%d %d %d", pos, *next (), bags [0]);
}
int *next ()
{
int i;
for (i=0;i<5;i++)
if (bags [i]==20)
return (bags+i);
printf("Error!");
exit (0);
}
8. # include
void main (void)
{
int y, z;
int x=y=z=10;
int f=x;
float ans=0.0;
f *=x*y;
ans=x/3.0+y/3;
printf ("%d %.2f", f, ans);
}
9. # include
void main (void);
double dbl=20.4530, d=4.5710, dblvar3;
void main (void)
{
double dbln (void);
dblvar3=dbln ();
printf ("%.2f\t %.2f\t %.2f\n", dbl, d, dblvar3);
}
double dbln (void)
{
double dblvar3;
dbl=dblvar3=4.5;
return (dbl+d+dblvar3);
}
10. # include
static int i=5;
void main (void)
{
int sum=0;
do
{
sum+=(1/i);
}while (0
}
11. # include
void main (void)
{
int oldvar=25,newvar=-25;
int swap (int, int);
swap (oldvar, newvar);
printf ("Numbers are %d\t %d", newvar, oldvar);
}
int swap (int oldval, int newval)
{
int tempval=oldval;
oldval=newval;
newval=tempval;
}
12. # include
void main (void);
void main (void)
{
int i=100,j=20;
i++=j;
i*=j;
printf ("%d\t %d\n", i, j);
}
13. # include
void main (void);
int newval (int);
void main (void)
{
int ia []={12,24,45,0};
int i;
int sum=0;
for (i=0;ia [i];i++)
{
sum+=newval (ia [i]);
}
printf ("Sum= %d", sum);
}
int newval (int x)
{
static int div=1;
return (x/div++);
}
14. # include
void main (void);
void main (void)
{
int var1, var2, var3, minmax;
var1=5;
var2=5;
var3=6;
minmax=(var1>var2)? (var1>var3)? var1: var3:(var2>var3)? var2: var3;
printf ("%d\n", minmax);
15. # include
void main (void);
void main (void)
{
void pa (int *a, int n);
int arr [5]={5,4,3,2,1};
pa (arr, 5);
}
void pa (int *a, int n)
{
int i;
for (i=0;i
printf ("%d\n", *(a++)+i);
}
16. # include
void main (void);
void print (void);
void main (void)
{
print ();
}
void f1 (void)
{
printf ("\n f1 ():");
}
17. # include "6.c"
void print (void)
{
extern void f1 (void);
f1 ();
}
static void f1 (void)
{
printf ("\n static f1 ().");
}
18. # include
void main (void);
static int i=50;
int print (int i);
void main (void)
{
static int i=100;
while (print (i))
{
printf ("%d\n", i);
i--;
}
}
int print (int x)
{
static int i=2;
return (i--);
}
19. # include
void main (void);
typedef struct NType
{
int i;
char c;
long x;
} NewType;
void main (void)
{
NewType *c;
c=(NewType *) malloc (sizeof (NewType));
c->i=100;
c->c='C';
(*c).x=100L;
printf ("(%d %c %4Ld)", c->i, c->c, c->x);
}
20. # include
void main (void);
const int k=100;
void main (void)
{
int a [100];
int sum=0;
for (k=0;k<100;k++)
*(a+k)=k;
sum+=a [--k];
printf ("%d", sum);
}
NOVELL-2:
The paper consists of three sections.
1. Aptitude 15 questions 20 min
2. System concepts 20 questions 20 min.
3. 'C' 15 questions 20 min.
Section 1:
Question 1 to 5 have to be answered on the basis of the information given below:
On Sunday, December 23, four ships were berthed at the Port.
Ship W left at 4 PM on Sunday, December 23, for a series of 8-day cruises to Bermuda and Nassau.
Ship X left at 4:30 PM on Sunday, December 23, for a series of alternating11-day and 13-day cruises.
Ship Y sailed at 5 PM on Sunday, December 23, for a series of 5-day cruises to Bermuda.
Ship Z sailed on Monday, December 24, for a series of 7-day cruises to Nassau.
Each cruise begins on the day after departure.
Each ship is scheduled to return to the Port early in the morning after the last day of the cruise and leave again in the afternoon of the same day.
(From 1999 Barron’s GRE book Model Test 3 - Section 5 - Q8 to Q12)
1. On December 31, which ships will be sailing from the Port on a New Year's Eve.
(a) W and X (b) X and Y (c) W and Z (d) X and Z (e) X, Y and Z
Ans: (c)
2. On how many sailing dates between December 24 and February 28 will ship W be moored alongside another ship
(a) 0 (b) 2 (c) 4 (d) 5 (e) 6 Ans: (d)
3. On how many occasions between December 24 and February 28 will three ships be moored at the Port?
(a) 0 (b) 1 (c) 2 (d) 3 (e) 4 Ans: (a)
4. On which day of the week will these four ships make most of their departures?
(a) Sunday (b) Monday (c) Tuesday (d) Thursday (e) Saturday
Ans: (b)
5. On which days of the week in the period between December 24 and February 28 will the pier be least crowded?
(a) Tuesday and Friday (b) Tuesday and Thursday (c) Friday and Saturday
(d) Wednesday and Thursday (e) Thursday and Saturday Ans: (a)
6. A family with a husband, his wife and their child are at one side of river. They want to cross the river on a boat. The child can't be left alone. The only available boat can hold only one person and the boatboy. Only the boat boy can row the boat. What is the minimum number of trips from on bank to the other that the boat boy has to make for the whole family to reach the other side?
Question 7 to 10 have to be answered on the basis of the information given below:
The workweek in a small business is a five-day workweek running from Monday through Friday. In each workweek, activities L, M, N, O and P must all be done. The work is subject to the following restrictions: L must be done earlier in the week than O and earlier than P
M must be done earlier in the week than N and earlier than O
No more than one of the activities can ever be done on any one day
7.Which of the following is an acceptable schedule starting from Monday to Friday?
a) L, M, N, O, P b) M, N, O, N, M c) O, N, L, P, M d) P, O, L, M, L
e) P, O, L, M, N Ans. (a)
8. Which of the following pair of activities could be done on Monday and Tuesday
a) L and O b) M and L c) M and P d) N and O e) O and M
Ans. (b)
9.If P and N are done on Thursday and Friday, then which of the following is true
a) L is done on Tuesday b) L is done on Wednesday c) M is done on Monday
d) O is done on Tuesday e) O is done on Wednesday Ans. (e)
10. Which of the following could be true
a) L on Friday b) M on Thursday c) N on Monday d) O on Monday
e) P on Tuesday Ans. (e)
Rest of the paper is based on similar questions.
I don’t remember them completely but I'll just give a basic idea about them below
* 5 programs are scheduled from Monday to Saturday, Monday is not holiday, and PQRST is the programs. The day before P is holiday, and some other clues are given, we have to find the sequence (4 questions)
* Suppose U R the prisoner, there are two guards who will tell truth or one will tell truth. There is a gate for liberty and another foe hell. Asking about which sequencing is sufficient to find the gate for liberty??
Some questions are given, like
i. Are U told truth?
ii. Another tells truth or not??
iii. Both of U R telling truth??
iv. Both of U lieing??
v. --------------
* There are WIFE and HUSBAND at one side of river. They have one child; they want to cross the river. The child can't be lonely. The boat boy won't permit more than one to cross the river, what is the correct way to cross the river??
* There are 7 targets, A B and C has to shoot them. All should be shot down consecutively.
1. The number of chances for A and B are not less then 2,
2. C has only one chance
3. A can't shot 3 times consecutively.
4. B is permitted to shoot in even chances only.
They have given some 2 or 3 MCQ questions on this.
Section 2:
1. Encryption and decryption is done in the following layer.
a) DLL b) Network layer c) Transport d) Presentation Ans: (d)
2. Floating point has different formats on two different machines. These modifications are taken care by which layer?
a) DLL b) Network layer c) Transport layer d) Presentation Ans: (d)
3. Time complexity of quick sort algorithm is
a) N*N b) log (N) c) N*log (N) d) N Ans: (c)
4. Time complexity of AVL tree is.
a) N*N b) log (N) c) N*log (N) d) N Ans: (b)
5. Cycle stealing is used in which concept?
a) Programmed I/O b) DMA c) Interrupts Ans: (b)
6. How many octets are there in an IP address
a) 6 b) 8 c) 10 d) 12
7.What are the maximum numbers of hosts that can be served by an IP?
a) 254 b) 256 c) 2**24 (2 to the power 24)
8. Which of the following is model representation of life cycle software
a) Water fall model b) Spiral
9. The purpose of reviewing code is
a) To find syntax error b) To check for the proper design
10. Semaphores are used for the resolution of
a) Contention b) Accessing of same resources by more than one
11.In threading of processes when the race condition will happen
a) Low priority process b) Higher priority process
(See O.S.Concepts by Silberschatz)
12.Which of the following function is not performed by O.S.
a) CPU scheduling b) Memory management c) Transaction Ans: (c)
13. If two application programmes uses same libraries which of following are shared
a) Lib code b) Code and stack c) Data d) Data, code and stack
14. Which is the maximum 16 bit signed integer.
a) 66337 b) 66338 c) 257 d) 258
15.When will interrupt occurs?
a) Divide by zero b) DMA completed c) Insufficient memory
16. Which of the following has low power consumption
a) EIL b) CMOS c) Totem pole Arrangement
17. Which of the following is the wrong statement
a) Combinational circuits have memory b) Sequential circuits have memory
c) Sequential circuits is a function of time Ans: (a)
18.Virtual address is
a) More than physical address b) Less than physical memory c) Equal to physical memory d) None Ans: (a)
19. Which of the following reduces CPU burden?
Ans: DMA
20. Malloc function allocates memory at
a) compilation time b) link c) load d) running Ans: (d)
Section 3:
1. Max value of SIGNED int
2. A long C program is given -- try to be familiar with few of the concepts listed below
int *num={10,1,5,22,90};
main ()
{
int *p,*q;
int i;
p=num;
q=num+2;
i=*p++;
print the value of i, and q-p, and some other operations are there.
}
How the values will change?
3. One pointer diff is given like this:
int *(*p [10])(char *, char*)
Explain the variable assignment
4. char *a [4]={"jaya","mahe","chandra","buchi"};
What is the value of sizeof (a) /sizeof (char *)
5. For the following C program
void fn (int *a, int *b)
{int *t;
t=a;
a=b;
b=t;
}
main ()
{int a=2;
int b=3;
fn (&a, &b);
printf ("%d %d", a, b);
}
What is the output?
a) Error at runtime b) Compilation error c) 2 3 d) 3 2
6. For the following C program
# define scanf "%s is a string"
main ()
{printf (scanf, scanf);
}
What is the output? Ans. %s is string is string
7. For the following C program
{char *p="abc";
char *q="abc123";
while (*p=*q)
print ("%c %c", *p, *q);
}
a) aabbcc b) aabbcc123 c) abcabc123 d) infinite loop
8. What is the value of the following?
printf ("%u", -1)
a) -1 b) 1 c) 65336
9. For the following C program
# define void int
int i=300;
void main (void)
{int i=200;
{int i=100;
print the value of i;}
print the value of i;}
What is the output?
10. For the following C program
int x=2;
x=x<<2;
printf ("%d ", x); Ans. 8
11. For the following C program
int a []={0,0X4, 4,9}; /*some values are given*/
int i=2;
printf ("%d %d", a [i], i [a]);
what is the value?
