Cypress Semiconductor Interview Experience (On-Campus)
Last Updated :
31 Jul, 2018
Role: Software Engineer.
Round 0:Â Online Test: MCQs on Input output questions of C, simplifying digital design circuit expressions, Types of memory, Addressing Mode in computer architecture, Questions on Time complexity, 2 or 3 questions on probability.
Round 1:
- Tell me about yourself.
- Which are various storage classes in C.
- Write the code demonstrating Register storage class usage.
- What if Registers are all occupied and we have used register storage class? What will happen.
- Write a function which takes in two variables, adds two numbers and returns pointer to the variable. (knowledge of stack frame, malloc, calloc is checked).
- How memory is dynamically allocated in C.
- Difference between Calloc and Malloc.
- What is Memory leak, how to avoid it.
- How memory is allocated to the structure for various variables of structure.
            struct temp{
                      int a;
                      int b;
                      char c;
                 int d;
            };
- What is padding in structure in C.
- Why 4 bytes are taken care off in padding?
- Write a C code to set and unset a bit at a given position in C. (bit manipulation)
- Asked whether aware about 8051, 8085, 8086 microcontroller.
- Asked about assembly language.
(Note: As I was studying point 13 and 14 in current semester, I told them I don’t have much idea for them.)
15. Any Questions from your side?
Round 2:
- Tell me about yourself which is not there in your resume.
- Two puzzles:
- A rectangular cake given, divide it into 8 equal parts.
- A square land given, divided into 4 squares. One part is taken off, divide the remaining 3 squares into 4 equal parts. (divide the white portion in 4 equal parts in below image).
- Write a code in C for finding the smallest nearest power of 2 number by pass by reference to the function.
- Write a code in C for finding number of the set bits in a number by pass by reference to the function.
- Write a macro in C for setting the iÂth bit of a given variable (bit manipulation).(In above three codes syntax was strictly focused)
- What is const in C.
- difference between const int*p and int* const p
- difference between const int p and int cont p
- What is a Scheduler(OS).
- Types of Scheduler in operating Systems.
- What are Registers. Why are registers used?
- Are Linux and Ubuntu different and what is relation between them (just to check confidence interviewer will prompt you, are you sure?)
- Will you work in Cypress, if you have work only in C language.
- What steps do you take when you have to complete your task but you are facing some difficulty?
- Any plans for future studies.
- Any questions from your side.
Like Article
Suggest improvement
Share your thoughts in the comments
Please Login to comment...