Sony Placement Paper - Technical Questions from C language
Sony Placement Paper - Technical Questions from C language
The placement procedure of Sony India comprises of 2 sections:
1. Written Examination
2. HR Interview which covers group discussion
Written examination of Sony generally comprises of 4 sections:
1. Verbal Reasoning
2. Logical Reasoning and Aptitude
3. Quantitative Aptitude
4. Technical Questions
Here are some questions which have formed in previous years/ may form the technical lot of questions in Sony India.
Q1. What symbol is used to terminate in the C language?
a) Semicolon
b) Colon
c) Period
d) Exclamation mark
Q2. Following two statements are executed after delivering a 20 bytes memory to a string declared as char*s
S=”Etrance”
I=streln(s)
What is I?
a) 20
b) 8
c) 9
d) 21
Q3. Calculate the value of Y in the given program
X=7, y=0
If x=6, y=7
Else y=1,
a) 7
b) 0
c) 1
d) 6
Q4. Break statement is used to exit from
a) DO loop
b) FOR loop
c) SWITCH loop
d) None
Q5. In which of the following will a CONTINUE cause control to go directly to test condition and then continue the loop process?
a) FOR and WHILE
b) WHILE and IF-ELSE
c) DO-WHILE and IF-ELSE
d) WHILE and DO-WHILE
Q6. What is comma used with?
a) IF-ELSE
b) DO-WHILE
c) All
d) None
Q7. What is the difference in declaration of an external variable and its definition?
a) Declaration causes storage space to be allocated to variable and definition gives variable properties
b) Definition only causes storage to be allocated and declaration causes storage space to be allocated
c) Both
d) None
Q8. What is the overall expression of -
Char ch;
short i;
unsigned long ul;
float f;
a) Char
b) Unsigned
c) Float
d) None
Q9. C standard library supplies which string related function
a) Strcpy()
b) Strcat()
c) Strcmp()
d) None
Q10. Explicitly specified dimensions are not in which array
a) Unsized
b) Undimensional
c) Unspecified
d) None
Q11. How can u determine m’s memory location in C?
a) *m
b) m&
c) &m
d) m*
Q12. math.h header can be used for providing
a) links to assembly language for calls
b) diagnostic and debugging assistance
c) support for string handling
d) none
Q13. The format specified for hexadecimal is
a) %d
b) %o
c) %x
d) %u
Discussion
- RE: Sony Placement Paper - Technical Questions from C language -mallappa (09/15/14)
- apptitude test