Add office photos
Employer?
Claim Account for FREE

VARSUN eTechnologies

4.1
based on 13 Reviews
Filter interviews by

10+ Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations

Q1. write a program on prime number and write query in SQL.

Ans.

Program to check prime numbers and SQL query for prime numbers.

  • Use a loop to check if a number is divisible by any number less than itself.

  • In SQL, use a subquery to check if a number is divisible by any number less than itself.

  • To optimize, only check divisibility up to the square root of the number.

Add your answer

Q2. write query to get full name of a employees from employee table.

Ans.

Query to retrieve full name of employees from employee table.

  • Use SELECT statement to retrieve data from employee table.

  • Concatenate first name and last name columns using CONCAT function.

  • Use AS keyword to give an alias name to the concatenated column.

Add your answer

Q3. what is access modifires in python?

Ans.

Access modifiers in Python are keywords used to restrict access to class members.

  • Python has three access modifiers: public, protected, and private.

  • Public members can be accessed from anywhere outside the class.

  • Protected members can be accessed within the class and its subclasses.

  • Private members can only be accessed within the class.

  • Public members are denoted by no underscore, protected members by a single underscore, and private members by double underscore.

  • Example: class MyC...read more

Add your answer

Q4. write a program a number is prime number or not?

Ans.

Program to check if a number is prime or not

  • A prime number is only divisible by 1 and itself

  • Loop through numbers from 2 to n-1 and check if n is divisible by any of them

  • If n is divisible by any number, it is not prime

  • If n is not divisible by any number, it is prime

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

Q5. write a program for christmas tree with 8 and 4 stars?

Ans.

Program to print Christmas tree with 8 and 4 stars

  • Use loops to print the tree structure

  • For 8 stars tree, use 4 rows and for 4 stars tree, use 3 rows

  • Print spaces before and after the stars to align them properly

Add your answer

Q6. write program swapping of a two numbers?

Ans.

Program to swap two numbers

  • Declare two variables and assign values to them

  • Use a third variable to store the value of the first variable

  • Assign the value of the second variable to the first variable

  • Assign the value of the third variable to the second variable

Add your answer
Are these interview questions helpful?

Q7. what is class and object?

Ans.

Class is a blueprint for creating objects. Objects are instances of a class that have their own unique properties and behaviors.

  • A class is a template or blueprint for creating objects

  • An object is an instance of a class with its own unique properties and behaviors

  • Classes define the properties and methods that objects of that class will have

  • Objects can interact with each other through their methods and properties

  • Example: A class 'Car' can have properties like 'color', 'model', ...read more

Add your answer

Q8. write a program on prime number or not

Ans.

A program to check if a given number is prime or not.

  • Take input from user

  • Check if the number is less than 2, then it is not a prime number

  • Loop through numbers from 2 to n-1 and check if n is divisible by any of them

  • If n is divisible by any number, then it is not a prime number

  • If n is not divisible by any number, then it is a prime number

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. write a program on save the prisoner?

Ans.

Save the prisoner program in Java

  • Take input for number of prisoners, number of sweets and starting prisoner

  • Calculate the index of the last prisoner to receive a sweet using modulo operator

  • Handle edge cases where the last prisoner is the starting prisoner

  • Implement the program using loops and conditional statements

Add your answer

Q10. what is SQL,write a query?

Ans.

SQL is a programming language used to manage and manipulate relational databases.

  • SQL stands for Structured Query Language.

  • It is used to create, modify, and query databases.

  • Example query: SELECT * FROM customers WHERE city='New York';

Add your answer

Q11. What is python?

Ans.

Python is a high-level, interpreted programming language known for its simplicity, readability, and versatility.

  • Python is used for web development, data analysis, artificial intelligence, scientific computing, and more.

  • It has a large standard library and supports multiple programming paradigms.

  • Python code is often shorter and easier to read than other languages.

  • It uses indentation to indicate code blocks instead of curly braces or keywords.

  • Python is open-source and has a stro...read more

Add your answer

Q12. what is javascript?

Ans.

JavaScript is a programming language used to create interactive web pages and web applications.

  • JavaScript is a client-side scripting language

  • It is used to add interactivity to web pages

  • It can be used for form validation, creating animations, and more

  • JavaScript can also be used on the server-side with Node.js

Add your answer

Q13. what is database?

Ans.

A database is a structured collection of data that can be accessed, managed, and updated.

  • A database is used to store and organize data in a structured way

  • It allows for efficient retrieval and manipulation of data

  • Examples include MySQL, Oracle, and MongoDB

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

3.8
 • 2.9k Interview Questions
3.9
 • 675 Interview Questions
4.2
 • 288 Interview Questions
4.2
 • 157 Interview Questions
3.8
 • 129 Interview Questions
View all
Top VARSUN eTechnologies Interview Questions And Answers
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
Get AmbitionBox app

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