Add office photos
National Infotech logo
Employer?
Claim Account for FREE

National Infotech

4.1
based on 3 Reviews

National Infotech Interview Questions and Answers

Updated 5 Feb 2024

Q1. What is the difference between a while loop and a do while loop?

Ans.

A while loop checks the condition before executing the code block, while a do while loop executes the code block once before checking the condition.

  • While loop: Condition is checked before entering the loop.

  • Do while loop: Code block is executed at least once before checking the condition.

  • Example: while (condition) { // code block } vs. do { // code block } while (condition);

Add your answer
right arrow

Q2. What do you know about embedded c programming?

Ans.

Embedded C programming is a specialized skill used in developing software for embedded systems.

  • Embedded C is a variant of the C programming language specifically designed for embedded systems.

  • It is used to write code for microcontrollers, sensors, and other hardware devices.

  • Embedded C programming requires knowledge of low-level hardware interactions and memory management.

  • Example: Writing code to control a robotic arm using a microcontroller.

Add your answer
right arrow

Q3. How the boost converter will work?

Ans.

Boost converter is a type of DC-DC converter that steps up the input voltage to a higher output voltage.

  • Boost converter uses an inductor, a diode, a capacitor, and a switch to increase the voltage level.

  • During the switch on-time, energy is stored in the inductor. During the switch off-time, the energy is transferred to the output.

  • The output voltage is higher than the input voltage due to the energy transfer process.

  • Boost converters are commonly used in applications where a hi...read more

Add your answer
right arrow

Q4. Why do we use timers and counters?

Ans.

Timers and counters are essential in embedded systems for tasks like scheduling, measuring time intervals, generating waveforms, and counting events.

  • Timers are used for scheduling tasks at specific intervals, generating PWM signals, and measuring time durations.

  • Counters are used for counting external events like pulses, frequency measurement, and capturing input signals.

  • Timers and counters are crucial for real-time applications, communication protocols, and controlling hardwa...read more

Add your answer
right arrow
Discover National Infotech interview dos and don'ts from real experiences

Q5. Explain the difference between loops in C.

Ans.

Different types of loops in C include for, while, and do-while loops.

  • For loop: Used when the number of iterations is known. Example: for(int i=0; i<5; i++) {}

  • While loop: Used when the number of iterations is unknown. Example: while(condition) {}

  • Do-while loop: Similar to while loop but guarantees at least one execution. Example: do {} while(condition);

Add your answer
right arrow

Q6. Explain Timers and counters

Ans.

Timers and counters are essential components in embedded systems used for measuring time intervals and counting events.

  • Timers are used to measure time intervals by counting clock cycles or external events.

  • Counters are used to count external events or pulses.

  • Timers can be used for generating delays, PWM signals, or triggering events.

  • Counters can be used for frequency measurement, event counting, or pulse width measurement.

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

Interview Process at National Infotech

based on 2 interviews
Interview experience
4.5
Good
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

Oracle Logo
3.7
 • 648 Interview Questions
 Publicis Sapient Logo
3.5
 • 448 Interview Questions
WNS Logo
3.4
 • 283 Interview Questions
Asian Paints Logo
4.0
 • 248 Interview Questions
Movate Logo
3.3
 • 151 Interview Questions
Adani Power Logo
3.9
 • 139 Interview Questions
View all
Recently Viewed
LIST OF COMPANIES
Marwadi Education Foundation
Overview
INTERVIEWS
Merkle
No Interviews
REVIEWS
L&T Technology Services
No Reviews
INTERVIEWS
Steel1 India
No Interviews
INTERVIEWS
Zoho
No Interviews
INTERVIEWS
Xylem Water Solutions
No Interviews
JOBS
Xylem Water Solutions
No Jobs
REVIEWS
Decimal Point Analytics
No Reviews
INTERVIEWS
Sharda Group of Institutions
No Interviews
REVIEWS
National Infotech
No Reviews
Top National Infotech Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 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