Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

The default character coding in HTML-5 is _____________(a) UTF-8(b) UTF-16(c) UTF-4(d) UTF-32The question was posed to me in exam.Enquiry is from Unicode in section Computer Codes of Computer Fundamentals

Answer»

The correct choice is (a) UTF-8

For explanation I WOULD SAY: HTML5 which is the hypertext markup LANGUAGE generally uses the UTF-8 format as its default encoding. Unicode covers all the characters and SYMBOLS in all the different languages.

2.

Numbers used in packed decimal format can be used for _____________ operations.(a) logical(b) relational(c) arithmetic(d) bitwiseThis question was posed to me in an interview.I need to ask this question from Unicode topic in portion Computer Codes of Computer Fundamentals

Answer»

Right choice is (c) arithmetic

The BEST explanation: The PACKED numbers can be used for arithmetic operations. The packed numbers ALSO REQUIRE the lesser number of bytes as compared to zoned numbers.

3.

The sorting sequence of the strings A1,23,1A will be ______________(a) 23 > A1 > 1A(b) 23 < 1A > A1(c) A1 > 1A > 23(d) A1 < 1A < 23I had been asked this question during an interview.Question is from Unicode topic in section Computer Codes of Computer Fundamentals

Answer»

Correct option is (d) A1 < 1A < 23

The explanation: The sorting order is A1, 1A, 23. NUMERIC characters are given a greater PREFERENCE in EBCDIC as compared to the alphabets.

4.

_________________ defines the assigned ordering among the characters used by the computer.(a) Unicode(b) Collating Sequence(c) Accumulation(d) SortingThis question was addressed to me in semester exam.I'm obligated to ask this question of Unicode topic in division Computer Codes of Computer Fundamentals

Answer» RIGHT answer is (b) Collating Sequence

Explanation: Collating sequence is the term USED for ordering among characters. It may vary depending UPON the type of CODE used by a COMPUTER.
5.

The EBCDIC value of the number 345 in zoned format is__________(a) F3F4F5(b) E3E4E5(c) F3F4C5(d) F3F4D5I have been asked this question in an internship interview.This intriguing question comes from Unicode topic in section Computer Codes of Computer Fundamentals

Answer»

Correct choice is (a) F3F4F5

For explanation I would SAY: F is USED for the representation of unsigned numbers THEREFORE, F3F4F5 represents 345. F3F4C5 represents +345 . F3F4D5 represents -345.

6.

The sign indicator of unsigned numbers is____________(a) C(b) D(c) F(d) XI have been asked this question in an interview.This intriguing question originated from Unicode topic in portion Computer Codes of Computer Fundamentals

Answer»

The correct OPTION is (c) F

The BEST I can explain: A sign indicator is USED in the zone position of the rightmost digit. A sign indicator C is used for positive, D for negative and F is used for negative NUMBERS.

7.

Which of the following is a valid encoding format?(a) UTF-1(b) UTF-8(c) UTF-A(d) UTF-4I have been asked this question in an interview.I need to ask this question from Unicode in section Computer Codes of Computer Fundamentals

Answer»

Right answer is (B) UTF-8

Easy explanation: The various ENCODING formats are UTF-8, UTF-16 and UTF-32. UTF stands for Unicode TRANSFORMATION Format. It is BASICALLY an encoding SYSTEM that supports all languages.

8.

Which of the following is not a type of numeric value in zoned format?(a) Positive(b) Negative(c) Double(d) UnsignedThe question was asked in exam.The query is from Unicode in division Computer Codes of Computer Fundamentals

Answer»

Correct choice is (c) Double

To explain: The ZONED format can represent numeric VALUES of type POSITIVE, negative and unsigned numbers. A SIGN indicator is used in the ZONE position of the rightmost digit.

9.

Unicode provides a consistent way of encoding multilingual plain text.(a) True(b) FalseI have been asked this question in an online interview.My question comes from Unicode in portion Computer Codes of Computer Fundamentals

Answer»

The CORRECT option is (a) True

The explanation: UNICODE defines codes for CHARACTERS USED in all major languages of the world.

It is a CODING system which supports almost all the languages. It defines special codes for different characters, symbols, diacritics, etc.

10.

Express the ASCII equivalent of the signed binary number (00110010)2.(a) 2(b) 1(c) A(d) ,The question was posed to me by my college director while I was bunking the class.Question is taken from ASCII topic in section Computer Codes of Computer Fundamentals

Answer»

Correct choice is (a) 2

To explain: The ASCII CHARACTERS for the remaining OPTIONS are:

1 : 00110001

A : 01000001

, : 00101100.

11.

The numbers used to represent numeric values in EBCDIC are_______(a) zoned(b) unsigned(c) packed(d) ebI got this question by my college professor while I was bunking the class.My query is from Unicode in section Computer Codes of Computer Fundamentals

Answer»

The correct option is (a) zoned

The explanation is: Zoned numbers represent the numeric values under EBCDIC (Extended Binary CODED Decimal INTERCHANGE Code). In zoned format, there is only ONE digit PER BYTE.

12.

Binary Coding for the letter X is ______________(a) 01011000(b) 00111000(c) 10001000(d) 00010100This question was posed to me during an interview.The query is from ASCII topic in portion Computer Codes of Computer Fundamentals

Answer»

The correct choice is (a) 01011000

Easiest explanation: The binary coding for the LETTER X is 01011000. Here, 0101 is the ZONE whereas 1000 is the digit.The alphabets from P to Z have the zone 0101.

13.

The representation of the number 8 in binary in ASCII-8 format _________(a) 00111000(b) 01001000(c) 1000(d) 00011000This question was addressed to me by my school principal while I was bunking the class.This is a very interesting question from ASCII in section Computer Codes of Computer Fundamentals

Answer»

The CORRECT choice is (a) 00111000

For explanation: The ASCII-8 format will have 8 bits. The zone for the CHARACTER 8 is 0011 and the DIGIT is 1000.Therefore, its representation is 00111000.

14.

The zone of alphabetic characters from A to O in ASCII is _____________(a) 1000(b) 0100(c) 0010(d) 0001The question was posed to me in class test.The question is from ASCII in portion Computer Codes of Computer Fundamentals

Answer»

Right answer is (b) 0100

The best I can EXPLAIN: The zone USED by ASCII for alphabets is 0100. For e.g. A is represented as 0100(zone)0001(digit). The hex equivalent is 41 for A. The zone used by numbers is 0011.

15.

The number of characters that can be represented in ASCII-8 are ______________(a) 128(b) 256(c) 32(d) 64This question was posed to me in a job interview.I need to ask this question from ASCII topic in chapter Computer Codes of Computer Fundamentals

Answer» RIGHT CHOICE is (B) 256

The explanation: ASCII-8 can represent 256 DIFFERENT characters. ASCII-8 uses 8-bits for the representation of NUMBERS i.e. it can represent 2^8 = 256 different characters.
16.

The first 128 characters are the same in both the types of ASCII i.e. ASCII-7 and ASCII-8.(a) True(b) FalseI got this question in an interview for job.My enquiry is from ASCII topic in section Computer Codes of Computer Fundamentals

Answer» CORRECT choice is (a) True

For explanation: There are two types of ASCII CODES: ASCII-7 and ASCII-8. ASCII-7 USES 7 BITS to REPRESENT a number whereas ASCII-8 uses 8-bits to represent a number.
17.

Any set of digits or alphabets are generally referred as ______________(a) Characters(b) Symbols(c) Bits(d) BytesI got this question in an international level competition.My question comes from ASCII topic in chapter Computer Codes of Computer Fundamentals

Answer»

Correct answer is (a) Characters

For explanation: We REFER to the digits and ALPHABETS GENERALLY as characters. A CHARACTER is generally a unit of information in COMPUTERS.

18.

The two types of ASCII are _____________ and ____________(a) ASCII-4 and ASCII-8(b) ASCII-8 and ASCII-16(c) ASCII-7 and ASCII-8(d) ASCII-4 and ASCII-16I had been asked this question in exam.My doubt stems from ASCII topic in chapter Computer Codes of Computer Fundamentals

Answer»

The correct CHOICE is (C) ASCII-7 and ASCII-8

The explanation is: The two TYPES of ASCII are ASCII-7 and ASCII-8.ASCII-7 uses 7 bits for the representation of NUMBERS and ASCII-8 uses 8-bits.

19.

The decimal representation for the character ‘!’ in ASCII is ____________(a) 31(b) 32(c) 33(d) 34The question was posed to me in an online quiz.My question comes from ASCII in portion Computer Codes of Computer Fundamentals

Answer»

The correct option is (c) 33

To explain: The decimal REPRESENTATION of a few basic CHARACTERS are:

33 : !

34 : ”

35: #

36 :$.

20.

What does ASCII stand for?(a) American Standard Code for Information Interchange(b) American Scientific Code for Information Interchange(c) American Scientific Code for Interchanging Information(d) American Standard Code for Interchanging InformationI had been asked this question by my college professor while I was bunking the class.The origin of the question is ASCII in division Computer Codes of Computer Fundamentals

Answer»

The CORRECT choice is (a) American Standard Code for Information Interchange

Easiest EXPLANATION: The ASCII codes are used to represent the BITS into symbols and VICE versa. ASCII is the American Standard Code which is used to exchange information.

21.

Which of the following character is available in EBCDIC but not in ASCII?(a) cent sign(b) dollar sign(c) comma(d) punctuationThis question was posed to me in an online interview.The above asked question is from EBCDIC in portion Computer Codes of Computer Fundamentals

Answer»

The CORRECT answer is (a) cent SIGN

The best I can explain: The cent sign wasn’t available in ASCII which is the AMERICAN Standard Code for Information interchange. It was available in EBCDIC THOUGH and thus was considered better.

22.

The EBCDIC is mainly used in ___________(a) Programming(b) Machine Codes(c) Mainframes(d) Super ComputersI got this question in semester exam.The doubt is from EBCDIC topic in portion Computer Codes of Computer Fundamentals

Answer»

The correct option is (c) Mainframes

Easiest explanation: This CONCEPT of EBCDIC was INVENTED by IBM. It is mainly used in the IBM MAINFRAME environment. So BASICALLY, mainframes USE EBCDIC codes.

23.

The characters from 0 to 9 have their common digit as ___________(a) 1111(b) 0000(c) 0001(d) 1000I had been asked this question at a job interview.This intriguing question comes from EBCDIC topic in chapter Computer Codes of Computer Fundamentals

Answer»

Correct choice is (a) 1111

For EXPLANATION: The digits are 1111 in case of numbers.Here, 0.101 gets CONVERTED to 1.010 in its 1’s complement FORMAT.

24.

What is the hexadecimal equivalent of the digit 9?(a) E9(b) F9(c) G9(d) H9I had been asked this question during an internship interview.Query is from EBCDIC in portion Computer Codes of Computer Fundamentals

Answer» RIGHT CHOICE is (b) F9

Easiest EXPLANATION: For DIGITS in EBCDIC, the hex EQUIVALENT starts from F0 to F9.

F0=0

F1=1

F2=2

F3=3 and so on.
25.

In EBCDIC, D5 is used to represent ________ character.(a) J(b) N(c) O(d) KI have been asked this question in my homework.My query is from EBCDIC topic in section Computer Codes of Computer Fundamentals

Answer»

The CORRECT ANSWER is (b) N

To elaborate: D5 is used to represent N in this system. The representations D1 to D9 are used for the characters J to R respectively.

26.

Which of the following is not a character of the digit 1110?(a) S(b) Z(c) O(d) XI had been asked this question at a job interview.My question is from EBCDIC in chapter Computer Codes of Computer Fundamentals

Answer»

Correct answer is (C) O

Explanation: All the alphabets from S to Z have their digit as 1110. Here, O has the digit 1101 and therefore is the incorrect option. EXAMPLE: S has the digit as 1110 and zone 0010.

27.

The hex representation for F is _______________(a) C6(b) C5(c) D6(d) D1I had been asked this question during an interview for a job.My enquiry is from EBCDIC in division Computer Codes of Computer Fundamentals

Answer» CORRECT ANSWER is (a) C6

The EXPLANATION is: CERTAIN hexrepresentations are :

C1=A

C2=B

C3=D

C4=E

C5=F

C6=G

C7=H

C8=I

C9=J.
28.

The EBCDIC code for the character A is ______________(a) digit : 1100 zone : 0001(b) digit : 1111 zone : 0001(c) digit : 1100 zone : 1010(d) digit : 1111 zone : 1010The question was asked during an interview.This intriguing question comes from EBCDIC topic in portion Computer Codes of Computer Fundamentals

Answer»

Right choice is (a) digit : 1100 ZONE : 0001

To explain: The CHARACTER A is represented by the digit 1100 and the zone 0001. The hex REPRESENTATION for the same is C1. Similarly for B it is C2 and so on.

29.

In EBCDIC, a maximum of 128 different characters can be represented.(a) True(b) FalseThe question was posed to me in exam.This intriguing question originated from EBCDIC topic in chapter Computer Codes of Computer Fundamentals

Answer»

Correct option is (B) False

The explanation: EBCDIC uses 8 bits for representation.Therefore, 2^8 i.e., 256 DIFFERENT characters can be REPRESENTED and not 128. Thus, the above statement is false.

30.

What does EBCDIC stand for?(a) Extended Binary Converted Decimal Intermediate Code(b) Extended Binary Coded Decimal Intermediate Code(c) Extended Binary Coded Decimal Interchange Code(d) Extended Binary Converted Decimal Interchange CodeThe question was posed to me in an international level competition.I need to ask this question from EBCDIC topic in portion Computer Codes of Computer Fundamentals

Answer»

Right CHOICE is (c) Extended Binary Coded DECIMAL Interchange Code

Easiest EXPLANATION: EBCDIC is the Extended BCD interchange code. It USES 8 BITS to represent a symbol. It can represent 256 different characters.

31.

The Excess-3 representation of (0100)BCD is __________(a) 0110(b) 1110(c) 0111(d) 1100I got this question by my school principal while I was bunking the class.I would like to ask this question from BCD in division Computer Codes of Computer Fundamentals

Answer» CORRECT CHOICE is (c) 0111

To EXPLAIN: The excess-3 CODE is obtained by ADDING 3 to the BCD code.

Here, 0100+0011=0111.

Also, 4+3=7.
32.

The 10’s complement of 455 is _________(a) 543(b) 544(c) 545(d) 546I had been asked this question in an interview for job.This key question is from BCD topic in chapter Computer Codes of Computer Fundamentals

Answer» RIGHT choice is (C) 545

The best EXPLANATION: To OBTAIN the 10’s COMPLEMENT, we first obtain the 9’s complement and then add 1 to it.

999-455=544 (9’s)

544+1=545(10’s).
33.

The 9’s complement of 45 is_____________(a) 45(b) 54(c) 64(d) 46I got this question at a job interview.This key question is from BCD in portion Computer Codes of Computer Fundamentals

Answer»

The correct option is (B) 54

The explanation is: The 9’s complement of a NUMBER is obtained by subtracting each digit from 9. Here, 99-45=54. THEREFORE, the 9’s complement is 54.

34.

Write the decimal equivalent for (110001)BCD.(a) 31(b) 13(c) C1(d) 1CI had been asked this question during an interview.Query is from BCD topic in chapter Computer Codes of Computer Fundamentals

Answer» RIGHT answer is (a) 31

Best EXPLANATION: To obtain the decimal equivalent :

We START from the rightmost BIT and make groups of 4, then write the decimal equivalent accordingly.

 00110001=(31)10.
35.

The weights used in Binary coded decimal code are:(a) 4,2,1(b) 8,4,2,1(c) 6,4,2,1(d) 2,1The question was asked by my school teacher while I was bunking the class.My question is based upon BCD topic in portion Computer Codes of Computer Fundamentals

Answer»

The correct answer is (B) 8,4,2,1

The best explanation: BCD is a weighted code and it uses the weights 8,4,2,1 respectively. It is often called the 8421 code. Since, it uses 4 bits for the REPRESENTATION therefore the weights are assigned as : 2^3 = 8, 2^2 = 4, 2^1 = 2, 2^0 = 1.

36.

Which of the following is not a type of computer code?(a) EBCDIC(b) BCD(c) ASCII(d) EDICThe question was posed to me in unit test.This interesting question is from BCD in division Computer Codes of Computer Fundamentals

Answer» RIGHT choice is (d) EDIC

For EXPLANATION I would say: There is no coding scheme like EDIC. EBCDIC STANDS for Extended Binary Coded DECIMAL INTERCHANGE Code. BCD stands for Binary Coded Decimal. ASCII stands for American Standard Code for information interchange.
37.

Perform BCD addition of (23)BCD +(20)BCD .(a) 00110100(b) 01000011(c) 10011(d) 11100The question was posed to me during an online exam.My question is taken from BCD in section Computer Codes of Computer Fundamentals

Answer»

Correct OPTION is (b) 01000011

To elaborate: To ADD any two BCD numbers :

SIMPLY perform the addition : 23+20=43.

Then, write the equivalent BCD number = (0100 0011)BCD.

38.

The BCD representation of (34)10 is _______________(a) 6(b) 7(c) 8(d) 5I had been asked this question in a national level competition.This key question is from BCD in section Computer Codes of Computer Fundamentals

Answer»

Correct OPTION is (b) 7

Easy explanation: BCD numbers are represented as:

34=(00110100)BCD.

Each digit is individually taken and an EQUIVALENT standard 4 bit term is WRITTEN for the RESPECTIVE digit.

39.

BCD uses 6 bits to represent a symbol.(a) True(b) FalseThis question was addressed to me in an online interview.My question is based upon BCD topic in section Computer Codes of Computer Fundamentals

Answer»

Correct choice is (a) True

The best I can explain: In a Binary Coded Decimal FORMAT, 64 characters i.e. 26 DIFFERENT characters can be represented. It is ONE of the early COMPUTER codes.

40.

What does FORTRAN stands for?(a) Formula Transfer(b) Formula Transformation(c) Formula Translation(d) Format TransformationI got this question at a job interview.I would like to ask this question from Data Types topic in division Computer Codes of Computer Fundamentals

Answer»

Right choice is (c) FORMULA Translation

Explanation: FORTRAN is a type of computer LANGUAGE. It was developed for solving mathematical and SCIENTIFIC problems. It is very commonly USED AMONG the scientific community.

41.

A group of bits used to represent a symbol is called a ____________(a) byte(b) memory(c) nibble(d) codeI had been asked this question in an online quiz.I want to ask this question from BCD in portion Computer Codes of Computer Fundamentals

Answer» RIGHT option is (a) byte

The explanation is: In binary coding, EVERY SYMBOL that APPEARS in data is represented by a group of bits, which are called bytes. Computer CODES use binary coding schemes.
42.

______________ define how the locations can be used.(a) Data types(b) Attributes(c) Links(d) Data ObjectsI have been asked this question during an interview for a job.My doubt is from Data Types in portion Computer Codes of Computer Fundamentals

Answer»

Correct answer is (b) ATTRIBUTES

To explain: Attributes can determine how any location can be used. Attributes can be TYPE, name, component, etc. DATA objects are the VARIABLES and constants in a program.

43.

A standardized language used for commercial applications.(a) C(b) Java(c) COBOL(d) FORTRANThe question was asked by my college director while I was bunking the class.The query is from Data Types in division Computer Codes of Computer Fundamentals

Answer»

Correct CHOICE is (C) COBOL

For explanation: COBOL is a language used in BUSINESS and commercial applications. It stands for Common Business Oriented Language. It is imperative, procedural as well as OBJECT oriented language.

44.

The program written by the programmer in high level language is called _____________(a) Object Program(b) Source Program(c) Assembled Program(d) Compiled ProgramThe question was posed to me in semester exam.Question is taken from Data Types topic in section Computer Codes of Computer Fundamentals

Answer»

Right answer is (b) Source Program

For explanation: The program written by the programmer is CALLED a source program. The program generated by the COMPILER after compilation is called an OBJECT program. The object program is in machine LANGUAGE.

45.

BOOLEAN is a type of data type which basically gives a tautology or fallacy.(a) True(b) FalseThe question was posed to me in exam.This interesting question is from Data Types topic in chapter Computer Codes of Computer Fundamentals

Answer»

Correct choice is (a) True

Explanation: A Boolean representation is for giving logical values. It RETURNS either true or false. If a result gives a truth value, it is called tautology whereas if it returns a false term, it is referred to as FALLACY.

46.

Which of the following is not a basic data type in C language?(a) float(b) int(c) real(d) charI had been asked this question by my school principal while I was bunking the class.I need to ask this question from Data Types in portion Computer Codes of Computer Fundamentals

Answer»

Right answer is (c) real

Explanation: There are 5 basic DATA types in C language: int, char, float, double, void.

Int is for the REPRESENTATION of integers, char is for STRINGS and CHARACTERS, float and double are for floating point NUMBERS whereas void is a valueless special data type.

47.

What are the entities whose values can be changed called?(a) Constants(b) Variables(c) Modules(d) TokensThe question was asked in semester exam.My query is from Data Types in chapter Computer Codes of Computer Fundamentals

Answer» RIGHT choice is (b) Variables

For explanation: Variables are the data entities WHOSE values can be changed.Constants have a fixed value. Tokens are the words which are easily identified by the compiler.
48.

Which of the following is not a valid representation in bits?(a) 8-bit(b) 24-bit(c) 32-bit(d) 64-bitI have been asked this question during an internship interview.My query is from Data Types in division Computer Codes of Computer Fundamentals

Answer»

Right CHOICE is (b) 24-bit

The EXPLANATION: There are no CRITERIA like the 24-bit representation of numbers. Numbers can be written in 8-bit, 16-bit, 32-bit and 64-bit as PER the IEEE format.

49.

*@Ac# is a type of ________________ data.(a) Symbolic(b) Alphanumeric(c) Alphabetic(d) NumericThe question was posed to me in examination.Origin of the question is Data Types topic in chapter Computer Codes of Computer Fundamentals

Answer»

Right OPTION is (b) Alphanumeric

Explanation: Alphanumeric data consists of symbols. Alphanumeric data may be a letter, EITHER in uppercase or LOWERCASE or some SPECIAL symbols like #,^,*,(, etc.

50.

Which of the following is not a data type?(a) Symbolic Data(b) Alphanumeric Data(c) Numeric Data(d) Alphabetic DataThis question was addressed to me in a national level competition.Asked question is from Data Types topic in chapter Computer Codes of Computer Fundamentals

Answer»

Correct choice is (a) Symbolic Data

The best I can explain: Data types are of three basic types: Numeric, ALPHABETIC and ALPHANUMERIC. Numeric Data consists of only numbers.

Alphabetic Data consists of only letters and a blank CHARACTER and alphanumeric data consists of symbols.