Add office photos
Engaged Employer

SpanIdea

3.7
based on 193 Reviews
Filter interviews by

Cesta Services Interview Questions and Answers

Updated 5 Feb 2024

Q1. 1. write a code to check whether entered input is a palindrome or not 2. wap to print the reverse of an array 3. find the second highest in the array

Ans.

Answer to coding questions for Associate Software Engineer interview

  • To check for palindrome, compare the input string with its reverse

  • To print the reverse of an array, loop through the array in reverse order and print each element

  • To find the second highest in an array, loop through the array and keep track of the highest and second highest values

Add your answer

Q2. 2.What is type qualifier volatile and const

Ans.

The type qualifier volatile is used to indicate that a variable's value may change unexpectedly.

  • The volatile qualifier is used when a variable can be modified by external factors that are beyond the control of the program.

  • It is commonly used when accessing hardware registers or shared memory in multi-threaded environments.

  • The const qualifier is used to indicate that a variable's value cannot be modified once it is assigned.

  • It is used to enforce immutability and prevent accide...read more

View 1 answer

Q3. 1. What is topic present in C.

Ans.

C language has various topics including data types, control structures, functions, arrays, pointers, structures, and file handling.

  • Data types - int, float, char, double, etc.

  • Control structures - if-else, switch-case, loops, etc.

  • Functions - user-defined functions, library functions, etc.

  • Arrays - one-dimensional, multi-dimensional, etc.

  • Pointers - pointer variables, pointer arithmetic, etc.

  • Structures - user-defined data types, nested structures, etc.

  • File handling - opening, read...read more

Add your answer

Q4. 4.write code to reverse word in string

Ans.

Code to reverse words in a string

  • Split the string into an array of words

  • Loop through the array and reverse each word

  • Join the reversed words back into a string

Add your answer
Discover Cesta Services interview dos and don'ts from real experiences

Q5. 3.What is storage classes.

Ans.

Storage classes are keywords in C programming that define the scope and lifetime of variables.

  • There are four storage classes in C: auto, register, static, and extern.

  • Auto variables are local to a function and have a default value of garbage.

  • Register variables are stored in CPU registers for faster access.

  • Static variables retain their value between function calls.

  • Extern variables are declared outside of any function and can be accessed by other files.

  • Storage classes can affect...read more

Add your answer

Q6. What is system call.

Ans.

System call is a request made by a program to the operating system for a service or resource.

  • System calls provide an interface between a program and the operating system.

  • They allow programs to perform tasks such as reading and writing files, creating new processes, and managing memory.

  • Examples of system calls include open(), read(), write(), fork(), and exec().

Add your answer

Q7. 5. How computer is starting

Ans.

The computer starts by executing the BIOS, which initializes hardware and loads the operating system.

  • When the power button is pressed, the computer sends a signal to the power supply to turn on.

  • The BIOS (Basic Input/Output System) is then executed, which performs a Power-On Self Test (POST) to check hardware components.

  • The BIOS then loads the boot loader from the hard drive or other bootable device.

  • The boot loader then loads the operating system into memory and hands over con...read more

Add your answer

Q8. What is process and thread

Ans.

A process is an instance of a program while a thread is a lightweight process that can run concurrently with other threads.

  • A process is a program in execution

  • A process has its own memory space and system resources

  • A thread is a subset of a process

  • A thread shares the same memory space and system resources as its parent process

  • Multiple threads can run concurrently within a single process

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Cesta Services

based on 1 interviews
Interview experience
4.0
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Associate Software Engineer Interview Questions from Similar Companies

3.9
 • 157 Interview Questions
4.1
 • 32 Interview Questions
3.8
 • 25 Interview Questions
4.0
 • 18 Interview Questions
3.8
 • 13 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter