Freshers Jobs | AMCAT | Fresherworld | JEE | NEET | GATE & CAT

AMCAT coupon code --> ALP50 | Freshersworld Discount Code --> AFF1451AGI
TechMario UpdatesAMCAT Discount Code (ALP50) - get flat off TechMario UpdatesFreshersworld Coupon Code (AFF1451AGI) - - get flat 100 off TechMario UpdatesGovt Jobs- सरकारी नौकरियों के लिए यहां क्लिक करें

AMCAT Data Types Questions 2018 -Computer Programming Test

AMCAT Data Types Questions Computer Programing Section 2018: AMCAT exam offers job aspirants a platform to showcase their profiles to recruiting companies. Many corporate companies AMCAT score for hiring. To write AMCAT, IT candidates need to take up AMCAT Computer Programing Section.

AMCAT Data Types Questions-Computer Programming Section


AMCAT Data Types Questions, AMCAT Data Types Questions Solution PDF

AMCAT exam consists of Quantitative and Reasoning ability and English as mandatory sections of the test. For IT jobs, Computer Programming section also needs to be attended.
Under Computer Programming, questions are asked from basic programming concepts that includes Data Types. Below we will find out more about AMCAT Data Types Questions.

Overview of Data Types

As the name says Data Types is a classification of data, to ease the process of compiling. It indicates the program that how the user wants to use a particular data within the scope of the program. Basically, data types are classified into primitive or in built data types and user defined data types.

Primitive Data Type includes-

  • Character as char, range(-128 to 127)
  • Number as int, range(-32,768 to 32,767)
  • Small number as short, range(-32,768 to 32,767)
  • Long number as long, range(-2,147,483,648 to 2,147,483,647)
  • Decimal number as float, range(1.2e^-38 to 3.4e^38 upto 6 decimal places)

User defined data types are complex and defined using the in built data types. String is a combination of characters. For example, ‘a’ is a character and ‘name’ is a string.

Note:- Char is 2 bytes,int is of 2 bytes, short is of 2 bytes, long is of 4 bytes and float is of 4 bytes.

Sample Questions on Data Types

Find below the sample questions on data types in Computer Programming section

1. Which of the following does not store a sign

  1. Short
  2. Integer
  3. Long
  4. Byte
  5. Single

Answer: Option D

2. Which of the following is the correct default value of a Boolean type?

  1. 0
  2. 1
  3. True
  4. False
  5. -1

Answer: Option D

3. Which of the following is not derived type of Data Type?

A.    Pointer types
B.     Array types
C.     Enum Type
D.    Structure types
E.     Union types

Answer– C
Explanation: All except, Enum Type are derived type

4.Usain Bolt runs 400 meters race, the timekeeper wants to write a program to save his track timing what kind of a data type should he be using to store the temporary data?

A.    int
B.     Float
C.     Pointer
D.    Double

Answer– D
Explanation: The double type of data will give him the highest precision. e.g – 9.59716 secs

5. What is the storage size and the range for short?

A.    4 bytes, 65,534
B.     2 bytes, 65,534
C.     2 bytes, -32,768 to 32,767
D.    4 bytes, -32,768 to 32,767

Answer– C
Explanation:  Short number is of 2 bytes and ranges from  -32,768 to 32,767

AMCAT Data Types Questions Solution PDF download

Download AMCAT Data Types Sample Questions Solution PDF 1

Download AMCAT Data Types Sample Questions Solution PDF 2

Hope this helps you in getting an idea of AMCAT Data Types Questions. For any queries please comment below.

If you want to give AMCAT exam then try below discount code and get 100 Flat off.

Looking for AMCAT Discount? – check here AMCAT Discount Code

More Articles AMCAT CSE Questions Paper:

Leave a Reply

Your email address will not be published.

alpingi © 2018