An integer constant in C must have
A) At least one digit
B) At least one decimal point
C) A comma along with digits
D) Digits separated by commas

1 Answer

Answer :

A) At least one digit

Related questions

Description : If there are n integers to sort, each integer has d digits and each digit is in the set {1,2, ..., k}, radix sort can sort the numbers in: (A) O(d n k) (B) O(d nk) (C) O((d+n)k) (D) O(d(n+k))

Last Answer : (D) O(d(n+k))

Description : Write the given sets in roster form: (a). P = {y: y is an integer and -4 < y < 6}. (b). Q = {y: y is a natural number which is

Last Answer : (i) A = {x: x is an integer and †3 < x < 7} The elements of this set are †2, †1, 0, 1, 2, 3, 4, 5, and 6 only. Therefore, the given set can be written in roster form as A = {†2, †... and 80 only. Therefore, this set can be written in roster form as C = {17, 26, 35, 44, 53, 62, 71, 80}}.

Description : A number with both integer and a fractional part has digits raised to both positive and negative powers of 2 in a decimal number system. a) True b) False

Last Answer : Answer: b Explanation: In a decimal number system, a number with both integer and a fractional part has digits raised to both positive and negative powers of 10 and not 2. e.g. 22.34 = 2 * 101 + 2 * 100 + 3 * 10-1 + 4 * 10-2

Description : The BCD adder to add two decimal digits needs minimum of (A) 6 full adders and 2 half adders (B) 5 full adders and 3 half adders (C) 4 full adders and 3 half adders (D) 5 full adders and 2 half adders

Last Answer : (D) 5 full adders and 2 half adders

Description : Domain names always have two or more parts, separated by (a) commas (b) periods (called dots) -Technology

Last Answer : (b) A domain name is a hierarchical series of character strings representing different levels of domains separated by dot/period.

Description : If a variable is declared final, it must include ...................... value. A) integer B) no C) initial D) float

Last Answer : C) initial

Description : Aren't keywords supposed to be separated by a comma?

Last Answer : No

Description : Art B Calculate the number of moles of magnesium, chlorine, and oxygen atoms in 4.30 moles moles of magnesium perchlorate, Mg(Cl O 4 ) 2 Mg(ClO4)2 . Express the number of moles of Mg Mg , Cl Cl , and O O atoms numerically, separated by comma?

Last Answer : Answers is the place to go to get the answers you need and to ask the questions you want

Description : Bresenham line drawing algorithm is attractive because it uses (A) Real arithmetic only (B) Integer arithmetic only (C) Floating point arithmetic (D) Real and integer arithmetic

Last Answer : (B) Integer arithmetic only

Description : Why do you write ‘Integer.parseInt(br.readLine())’?

Last Answer : A: The inputs in a java program comes in the form of String objects which are read using the br.readLine() function. Now if we want the input in integer form, we have to convert it into integer using the parseInt() function of the Integer wrapper class.

Description : Which of the following control expressions are valid for an if statement? A) An integer expression B) A Boolean expression C) Either A or B D) Neither A nor B

Last Answer : B) A Boolean expression

Description : Which of the following control expressions are valid for an if statement? A) An integer expression B) A Boolean expression C) Either A or B D) Neither A nor B

Last Answer : B) A Boolean expression

Description : A method name myMethod( ) that needs two integer arguments is declared as A) public void myMethod( ); B) public void myMethod(int a, int b); C) public void myMethod(int a, b); D) public int myMethod(a, b);

Last Answer : B) public void myMethod(int a, int

Description : Which of the following control expressions are valid for an if statement? A) an integer expression B) a Boolean expression C) either A or B D) Neither A nor B

Last Answer : B) a Boolean expression

Description : If an integer occupies 4 bytes and a character occupies 1 byte of memory, each element of the following structure would occupy how many bytes ? struct name { int age; char name[30]; }; A) 30 B) 32 C) 34 D) 36

Last Answer : C) 34

Description : If a is an integer variable, a=7/3; will return a value A) 2.5 B) 3 C) 0 D) 2

Last Answer : D) 2

Description : NULL is (A) the same as 0 for integer (B) the same as blank for character (C) the same as 0 for integer and blank for character (D) not a value

Last Answer : (D) not a value

Description : What is the data type of (1)? a) Tuple b) Integer c) List d) Both tuple and integer

Last Answer : b) Integer

Description : The correct way to round off a floating number x to an integer value is (A) y = (int)(x+0.5) (B) y = int(x+0.5) (C) y = (int)x+0.5 (D) y = (int)((int)x+0.5)

Last Answer : (A) y = (int)(x+0.5)

Description : A computer program selects an integer in the set {k : 1 ≤ k ≤ 10,00,000} at random and prints out the result. This process is repeated 1 million times. What is the probability that the value k = 1 appears in the printout atleast once ? (A) 0.5 (B) 0.704 (C) 0.632121 (D) 0.68

Last Answer : (C) 0.632121

Description : Suppose the function y and a fuzzy integer number around -4 for x are given as y=(x-3)2+2 Around -4={(2,0.3), (3,0.6), (4,1), (5,0.6), (6,0.3)} respectively. Then f(Around - 4) is given by: (A) {(2,0.6), (3,0.3), ... 6), (3,1), (6,0.6), (11,0.3)} (D) {(2,0.6), (3,0.3), (6,0.6), (11,0.3)}

Last Answer : (C) {(2,0.6), (3,1), (6,0.6), (11,0.3)}

Description : Consider the following database table : Create table test( one integer, two integer, primary key(one), unique(two), check(one≥1 and ≤10), check(two≥1 and ≤5) ); How many data records/tuples atmost can this table contain ?  (A) 5 (B) 10 (C) 15 (D) 50

Last Answer : (A) 5 

Description : A three dimensional array in C' is declared as int A[x][y][z]. Here, the address of an item at the location A[p][q][r] can be computed as follows (where w is the word length of an integer): (A) &A[0][0][0]+w(y*z*q+z*p+r) (B) &A ... *q+r) (C) &A[0][0][0]+w(x*y*p+z*q+r) (D) &A[0][0][0]+w(x*y*q+z*p+r)

Last Answer : Answer: B

Description : In a relational database model, NULL values can be used for all but which one of the following? (A) To allow duplicate tuples in the table by filling the primary key column(s) with NULL. (B) To ... D) To fill a column in a tuple when that column does not really exist for that particular tuple.

Last Answer : (A) To allow duplicate tuples in the table by filling the primary key column(s) with NULL.

Description : I am a two-digit number. All my digits are even. No two digits are the same. None of my digits are prime numbers. I am not a multiple of ten. My tens digit is bigger than my other numbers. ... big the number is) of all the other options with their digits added together. What number am I? -Riddles

Last Answer : If you followed all the steps apart from the last one there will be three options remaining: 64, 84, and 86. You then had to add up the digits, 64=6+4=10, 84=8+4=12, and 86=8+6=14. ... biggest number (12) and put it back as it was before the digits were added together and your answer should be 84.

Description : I am a three-digit number. All of my digits are prime. One of the numbers is even. Each of my numbers are used only once. The total of my first and last digits equals 10. The total of my first two digits equals 5. -Riddles

Last Answer : This one is fairly easy if you use elimination if you follow all the first 5 steps you get three options: 525, 327, and 723 but if you followed the last step you would reach your answer. The answer was 327.

Description : I am a five-digit whole number, read the same forward, backward and upside down. My second digit is half my third digit; my fifth digit is the product of my first and last digits; and the sum of my whole is ten. What am I? -Riddles

Last Answer : 10801

Description : What four digit positive, whole number has its last and first digits equal, addition of its last two digits is equal to its second digit. And the product of the squares of its last two digits is equal to four two noughts. -Riddles

Last Answer : 5945. 5=5. 4+5=9=second digit 4^2 x 5^2 = 400 = four two noughts

Description : What two-digit number equals two times the result of multiplying its digits? -Riddles

Last Answer : 36 = 2 x 3 x 6.

Description : What is the 4 digit number in which the first digit is one-fifth of the last, and the second and third digits are the last digit multiplied by 3? -Riddles

Last Answer : 1155

Description : A certain number has three digits. The sum of the three digits equals 36 times this number. Seven times the left digit plus 9 is equal to 5 times the sum of the two other digits. 8 times the second digit minus 9 is equal to the sum of the first and third.What is the number? -Riddles

Last Answer : This one is fairly easy - 324 is the answer.

Description : A five digit number is formed by the digits 0, 1, 2, 3, 4 (without repetition). Find the probability that the number formed is divisible by 4 ? -Maths 9th

Last Answer : Without repetition, a five -digit number can be formed using the five digits in 5! ways (5 4 3 2 1) Out of these 5! numbers, 4! numbers will be starting with digit 0. (0 (fixed) 4 3 2 1) ∴ Total ... + 6 + 6 + 4 + 4 + 4 = 30∴ Required probability = \(rac{30}{96}\) = \(rac{5}{16}.\)

Description : A four digit number is formed by the digits 1, 2, 3, 4 with no repetition. The probability that the number is odd is -Maths 9th

Last Answer : (a) \(rac{1}{2}\) Let S be the sample spaceThen n(S) = Number of four digit numbers that can be formed with out repetition1 of 4 digits1 of 3 digits1 of 2 digits1 of 1 digitThHTO= 4! = 4 3 2 1 ways = 24 ways. Let E : ... 1 = 12∴ P(E) = \(rac{n(E)}{n(S)}\) = \(rac{12}{24}\) = \(rac{1}{2}\).

Description : , B, C and D are four digits. Average of A and B are equal to average of C and D. Average of B and D is greater than average of A and B whereas average of A and D is less than average of A and B.Which digit has maximum value?

Last Answer : D has the maximum value

Description : The units digit of the square of a number and the units digits of the cube of the number are equal to the units digits of the number .How many values

Last Answer : The units digit of the square of a number and the units digits of the cube of the number are equal to the units ... such number? A. 2 B. 3 C. 4 D. 5

Description : The units digit of the square of a number and the units digits of the cube of the number are equal to the units digits of the number .How many values

Last Answer : The units digit of the square of a number and the units digits of the cube of the number are equal to the units ... such number? A. 2 B. 4 C. 5 D. 3

Description : Number of digits in the cube of a two digit number may be ____________

Last Answer : Number of digits in the cube of a two digit number may be ____________

Description : In a two-digit number, the sum of the digits is 9. If 9 is subtracted from the number, then the digits get reversed. Find the product of the digits

Last Answer : In a two-digit number, the sum of the digits is 9. If 9 is subtracted from the number, then the digits get reversed. Find the product of the digits

Description : In a two-digit number, the sum of the digit is 5 more than the units digit. The difference between the original number and the sum of digits is 10 mor

Last Answer : In a two-digit number, the sum of the digit is 5 more than the units digit. The ... the digits. Then find the difference between the digits.

Description : In a two-digit number, the ten digit is one more than twice the units digit. The sum of the digits is 36 less than the number formed by reversing the

Last Answer : In a two-digit number, the ten digit is one more than twice the units digit. The sum of ... by reversing the digits. Find the product of the digits

Description : What is the formula for the quiz-What is the 4 digit number in which the first digit is one-fifth of the last and the second and third digits are the last digit multiplied by 3?

Last Answer : Need answer

Description : How did you arrive at the answer of 1155 for What is the 4 digit number in which the first digit is one-fifth of the last and the second and third digits are the last digit multiplied by 3?

Last Answer : There are only two single-digit numbers where one is 1/5 of theother. Those are 1 and 5 and they become the outside numbers. Fromthere, it's relatively easy to multiply 5 by 3 to get 15 for theinside numbers.

Description : What is the greatest six digit odd number using three different digits only?

Last Answer : In this type of question, you need to fill out the largest digityou can, one at a time, from left to right. The largest digit youcan use for the leftmost position, is 9, the largest digit ... :999999(if you want AT MOST three different digits), or999987 (if you want EXACTLY three different digits).

Description : What is a two digit number whose sum of those digits is the square root of that number?

Last Answer : The number is 81.

Description : In the multiplication below each letter represents a different digit and only the digits 1 2 3 4 5 are used. Which of the letters represents 2?

Last Answer : E

Description : What number is a 3 digit square number with the product of its digits equal to 2?

Last Answer : 121

Description : How many 7-digit numbers can be formed using the digits 1 2 3 4 and 8?

Last Answer : What is the answer ?

Description : How many possible 5 digit combination for 5 digits?

Last Answer : There is only one possible combination as a combination is thesame no matter what the order is. There are 120 permutations, whichis where the order does matter.

Description : How many 3-digit numbers are there in which the product of those 3 digits is 9?

Last Answer : 119, 191, 911, 331, 313, 133