## Technical Aptitude 1 | Zensar Technical Aptitude Questions Preparation

• 01:47
• Zensar Placement questions for Aptitude, Get insight on Technical Aptitude Questions pattern, Technical Aptitude Question paper in the first series of Technical Aptitude preparation by Tutorial Diary.

Question: Which command will delete all data from a table and will not write to the rollback segment?

(a) DROP
(b) DELETE
(d) TRUNCATE

Question: Which character function can be used to return a specified portion of a character string?

(a) INSTR
(b) SUBSTRING
(c) SUBSTR
(d) POS

Question: Which of the following can be a valid column name?

(a) Column
(b) 1966_Invoices
(c) Catch_#22
(d) #Invoices

Question: For what values if i the output will be 5?

main()
{
int i,j=2;
if(i%j !=0)
j=5;
printf(?%d?,j);
}

(a) When i is even
(b) Odd
(c) Prime
(d) For all

Question: complexity of merge sort .?

Question: Which sorting also will use to sort {1,2,3,4,5} ?

Question: Which CPU register holds the address of next instruction?

Question: Write the output of the given program.

main()
{
Printf(?%c%c%c%c?,p[i],i[p],(*p+1),*(p+1));
}

Question: Write the output of the given program.

char *p[]=?rachit and devender?;
printf(?%C?,++(p));

Question: Write the output of the given program.

const char *p[]=?abhishek and Ankur?;
char k=?a?;
p=k;
printf(?%s?,p);

Question: Write the output of the given program.

main(){
extern int i;
i=5;
printf(?%d?,i);
}

Question: Find output.

#include
#include
void main()
{
int i=1*4/3-27%3^2+100*0.5-(4>3?1:2);
clrscr();
printf("%d",i);
getch();
}

(a) 49
(b) compile error
(c) 51
(d) 48

Question: What is the output of the program?

main()
{
int x=5, y;
y= x*x++ * ++x ;
// print x and y
}

Question: Write the output of the given program.

int a=1.1
float b=1.1
if (a==b)
{
printf("both are same")
}
else
{
printf("both are differnt")
}

Question: What is the priority level of
(),++,/,(),/,++ 2.++.(),/

Question: Find the output

#include
main()
{ int n=0; int i; i=2; switch(1)
{ case 0:do{ case 1:n++; case 2:n++; } while(--i>0); } printf(\"n=%d\",n); }

(a) compile error
(b) 4
(c) 1
(d) 0

Question: #define sqr(x) x*x, what is value of j if j = 2 * sqr(3 + 4)

Question:
char *p = \"hello world\"
p = \'H\'
What will be printf(\"%s\", p);

(a) Hello world
(b) hello world
(c) H
(d) compile error

Question: Which is the fastest ?
(a) FTP
(b)TELNET
(c)TCP

Question: Write the output for the following programme.

main(){
int x=20 ,y=35;
x= x++ + y++;
y = ++x + ++y;
printf(?%d %d?,x,y);
}

Question: If(fp = fopen(\"dfas\",\"r\") == NULL), what is the value of fp

(a) NULL
(b) 0
(c) 1
(d) 0 or 1

Question: Which among the following is/are object oriented language?
(a ) C++
(b) Java
(c) Eiffel
(d) All of the above

Question: Find storage class(es) from the folowing:
(a) Automatic
(b) Static
(c) Allocated
(d) All of the above

Prepare these questions well before appearing in zensar technologies interview and placement process and bet benefit of Tutorial Diary.