Qantler Technologies Fresher Interview Questions with Answers – Part 2

This blog explains about Qantler Technologies Fresher Interview Questions with Answers – Part 2 and is given below : 

We have already discussed about some questions in the previous blogs 

1. What is database? Name few databases.

A database is like a computer which has information stored on it and this information we can add or modify as required. Similarly, a database management system (DBMS) has software for creating and managing data in the databases. These provide users and people who program a proper way for data retrieval, management, updating, and creation.

The Best Database Management Tools

 The list includes some best free database management software.

1)Oracle RDBMS:

2) IBM DB2:

3) Microsoft SQL Server:

4) SAP Sybase ASE:

5) Teradata:

6) ADABAS:

7) MySQL:

8) FileMaker:

9) Microsoft Access:

10) Informix:

11) SQLite:

2. List out few technologies used for mobile application development ?

There are 3 types of apps:

Native apps

iOSon Objective-C or Swift

Androidon Java

Windows Phone on Net

Hybrid appsfor all platforms altogether with Xamarin, React Native, Ionic, Angular Mobile Sencha Touchetc.

Web apps as responsive versions of websiteto work on any mobile device.

3. List out few technologies used for web application development.

  Browser

 HTML

CSS

Programming Languages

Frameworks

Libraries 

Databases

Client (or Client-side)

Server (or Server-side)

Front-end

Back-end

Protocols

API

Data formats

 4. Is compiler a software or hardware or firmware?

HARDWARE is the physical arrangement of electronic parts that can only be changed with a screwdriver or soldering iron.  It is purely physical.

SOFTWARE is the arrangement of digital instructions that guide the operation of  computer hardware.  Software is loaded from storage (flash, disk, network, etc) into the computer’s operating memory (RAM) on demand, and is designed to be easy to change.

FIRMWARE is a special class of software that is not intended to change once shipped.  An update requires either a swap of chips or a special process to reload the flash memory containing the software.

5. Do you have laptop? If yes, what is the configuration of it?

 These are the most important things to consider when choosing a new laptop.

12.5 to 14-inch screens offer the best balance between usability and portability. Larger screens are fine if you don’t travel much and smaller models are great for kids.

  • If you’re spending over $600, shoot for these minimum specs:

    • Core i5 CPU

    • 1920 x 1080 screen

    • 8GB of RAM

    • SSD Storage instead of a hard drive.

  • 8+ hours of battery lifeis ideal if you plan to take your laptop anywhere at all.

  • Consider a 2-in-1if you want to use your laptop as a tablet. If not, a standard clamshell notebook may be a better choice.

  • Chromebooks are good for kids. Windows laptopsand MacBooks both offer plenty of functionality; which platform you prefer is a matter of personal taste.

 6. Write a program to check if the given year is a leap year.

// C program to check if a given 

// year is leap year or not

#include <stdio.h>

#include <stdbool.h>

  

bool checkYear(int year)

{

    // If a year is multiple of 400, 

    // then it is a leap year

    if (year % 400 == 0)

        return true;

  

    // Else If a year is muliplt of 100,

    // then it is not a leap year

    if (year % 100 == 0)

        return false;

  

    // Else If a year is muliplt of 4,

    // then it is a leap year

    if (year % 4 == 0)

        return true;

    return false;

}

  

// driver code

int main()

{

    int year = 2000;

  

    checkYear(year)? printf(“Leap Year”):

                   printf(“Not a Leap Year”);

    return 0;

}

Output:

Leap Year

 7. Write a program to find biggest among 3 numbers.

public class Largest {

     public static void main(String[] args) {

         double n1 = -4.5, n2 = 3.9, n3 = 2.5;

         if( n1 >= n2 && n1 >= n3)

            System.out.println(n1 + ” is the largest number.”);

         else if (n2 >= n1 && n2 >= n3)

            System.out.println(n2 + ” is the largest number.”);

         else

            System.out.println(n3 + ” is the largest number.”);

    }

}

When you run the program, the output will be:

3.9 is the largest number.

 8. Write a program to count the number of vowels and constants in a given string.

public class Count {

     public static void main(String[] args) {

        String line = “This website is aw3som3.”;

        int vowels = 0, consonants = 0, digits = 0, spaces = 0;

         line = line.toLowerCase();

        for(int i = 0; i < line.length(); ++i)

        {

            char ch = line.charAt(i);

            if(ch == ‘a’ || ch == ‘e’ || ch == ‘i’

                || ch == ‘o’ || ch == ‘u’) {

                ++vowels;

            }

            else if((ch >= ‘a’&& ch <= ‘z’)) {

                ++consonants;

            }

            else if( ch >= ‘0’ && ch <= ‘9’)

            {

                ++digits;

            }

            else if (ch ==’ ‘)

            {

                ++spaces;

            }

        }

         System.out.println(“Vowels: ” + vowels);        System.out.println(“Consonants: ” + consonants);

        System.out.println(“Digits: ” + digits);

        System.out.println(“White spaces: ” + spaces);    }

}

When you run the program, the output will be:

Vowels: 6

Consonants: 11

Digits: 3

White spaces: 3

 9. Find the biggest of N numbers:

 Get multiple numbers one by one as input.

 Stop the user input if the user enters q.

Find the biggest number and show.

Program to print largest and smallest of N numbers

 

import java.util.Scanner;

 /*

* Java Program to find the largest and smallest of N numbers

* without using arrays.

 */

 public class LargestOfN {

   public static void main(String[] args) {

     System.out.println(“Welcome to Java Program to find ” 

      + “largest and smallest number without using array”);        System.out.println(“Please enter value of N: “);

     Scanner sc = new Scanner(System.in);

    int n = sc.nextInt();

    int largest = Integer.MIN_VALUE; 

   int smallest = Integer.MAX_VALUE;

     System.out.printf(“Please enter %d numbers %n”, n);

    for (int i = 0; i < n; i++) {

       int current = sc.nextInt();

      if (current > largest) {

        largest = current;

      }

      if (current < smallest) {

        smallest = current;

       }

    }

     System.out.println(“largest of N number is : ” + largest);    System.out.println(“smallest of N number is : ” + smallest); 

}

 }

References : Qantler Technologies Fresher Interview Questions with Answers – Part 1

https://payilagam.com/blogs/qantler-technologies-fresher-interview-questions-with-answers-part-1/