Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Microprocessors Questions
Java compound assignment operator: If x = 5 and y = 2, what is the value of x after executing x += y?
C 16-bit integer constants: Which of the following is not a valid 16-bit integer constant value in C (assuming a 16-bit
int
range of −32768 to +32767)?
In the C programming language, which of the following identifiers cannot be used as a variable name (choose the reserved keyword that is invalid as an identifier)?
In Java, which of the following array declarations are possible: (1) an array of integers, (2) an array of String objects, (3) a multidimensional array (array of arrays), (4) a single array mixing integers and Strings?
Given JCOKE = 98 and LPEPSI = 42, evaluate the Fortran-style arithmetic IF: IF (JCOKE - 3 * LPEPSI) 5, 6, 7 with labels 5: JCOKE = JCOKE + 5, 6: JCOKE = JCOKE + 8, 7: JCOKE = JCOKE + 11. What is the final value of JCOKE?
When selecting an integrated memory chip for a digital system, which characteristics should be examined before purchase and design-in?
In standard Pascal, consider the following statements about files: (1) A file is a data structure consisting of a sequence of components of the same type. (2) The number of components in a file is variable. (3) Components can be accessed only sequentially starting from the beginning. Which statements are correct?
In computer architecture, are instructions, data, and intermediate/final results during processing held in the Arithmetic Logic Unit (ALU)?
Which memory in the computer memory hierarchy provides the fastest access time in typical systems?
In Fortran, which of the following real variable names is invalid according to identifier rules?
In the C programming language, which of the following is not a valid representation of a real (floating-point) constant?
In the C programming language, which of the following identifiers is not a valid variable name under C's identifier rules (letters, digits, and underscores only; must not start with a digit; no spaces; keywords not allowed)?
In the following C declarations and statements: int ram; float alpha, gamma; ram = 6400; alpha = 0.562; gamma = alpha * ram + 1; which statements are correct: (1) ram is an integer variable, (2) alpha and gamma are real (float) variables, (3) * and + are arithmetic operators, (4) 0.562 may be an integer or real constant?
True or False: A computer virus can hide itself on a floppy disk (diskette) but not on a hard disk drive.
In basic computer architecture, the Instruction Cycle (IC) comprises the Fetch Cycle (FC) and the Execute Cycle (EC). Which relationship is correct?
Convert the binary number 1101.101 to its decimal (base-10) value.
In C programming, how many standard storage classes are there (considering classic C: auto, register, static, extern)?
In Fortran 77, consider the loop header: DO 52 N = 1, 10, 3. How many times will this DO loop execute?
In C, which of the following is
not
a valid variable name (identifiers may include letters, digits, and underscores, cannot contain spaces, and must not start with a digit)?
For the expression X = (A + B + 1.2) * (A + B - C), what is the correct left-to-right sequence of operations (operators only) considering parentheses and standard evaluation order?
1
2
3