What will be the values of x, m and n after execution of the following statements? Int x, m, n;
m=10;
n=15;
x= ++m + n++;
A) x=25, m=10, n=15
B) x=27, m=10, n=15
C) x=26, m=11, n=16
D) x=27, m=11, n=16

1 Answer

Answer :

C) x=26, m=11, n=16

Related questions

Description : 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50'. What number is missing? -Riddles

Last Answer : 22

Description : Assume that variable x resides at memory location 1234, y at 1111 and p at 2222. Int x=1, y=2, *p; p=&x; y=*p; What will be the value of y after execution of above code? A) 2 B) 1 C) 1234 D) 1111

Last Answer : C) 1234

Description : A software project was estimated at 352 Function Points (FP). A four person team will be assigned to this project consisting of an architect, two programmers, and a tester. The salary of the architect is Rs.80,000 per month, the ... ) Rs.28,16,000 (2) Rs.20,90,000 (3) Rs.26,95,000 (4) Rs.27,50,000

Last Answer : (4) Rs.27,50,000 

Description : A beam of uniform rectangular section 200 mm wide and 300mm deep is simply supported at its ends.It carries a uniformly distributed load of 9KN/m run over the entire span of 5m.If E=1×104 N/mm2, what is the maximum deflection? a.14.26 mm b.17.28 mm c.18.53 mm d.16.27 mm.

Last Answer : d.16.27 mm.

Description : A coil is wound with 400 feet of No. 16 tinned copper wire and connected to a 12 volt battery. What is the current if the resistance per 1000 feet of No. 16 tinned copper wire is 4.26 ohms? A. 4.8 amps B. 7.06 amps C. 10.65 amps D. 11.27 amps

Last Answer : Answer: B

Description : f the temperature falls below 18 degrees, the heating is switched on. When the temperature reaches 21 degrees, the heating is switched off. What is the minimum set of test input values to cover all valid equivalence ... 17, 18, 20 and 21 degrees C. 18, 20 and 22 degrees D. 16 and 26 degrees

Last Answer : A. 15, 19 and 25 degrees

Description : A thermometer measures temperature in whole degrees only. If the temperature falls below 18 degrees, the heating is switched off. It is switched on again when the temperature reaches 21 degrees. What are the best values in degrees to ... and 25. B. 17,18 and19. C. 18, 20 and22. D. 16, 26 and 32.

Last Answer : A. 15,19 and 25.

Description : Calculate critical damping coefficient in N/m/s from the following data: mass = 100Kg ω = 40rad/s a) 25,132 b) 26,132 c) 27,132 d) 28,132

Last Answer : a) 25,132

Description : Which one of the following array represents a binary max-heap? (A) [26, 13, 17, 14, 11, 9, 15] (B) [26, 15, 14, 17, 11, 9, 13] (C) [26, 15, 17, 14, 11, 9, 13] (D) [26, 15, 13, 14, 11, 9, 17]

Last Answer : (C) [26, 15, 17, 14, 11, 9, 13]

Description : What is the breathing rate of human being body? A. 15-11 minutes B. 16-20 minutes (Answer) C. 25-26 minutes D. 32-35 minutes

Last Answer : B. 16-20 minutes (Answer)

Description : If m and n are int type variables, what will be the result of the expression m% n when m=5 and n=2 ? A) 0 B) 1 C) 2 D) None of the above

Last Answer : B) 1

Description : 5 7.5 11.25 17.5 ? 50 a) 28.75 b) 26.50 c) 27.50 d) 28.25 e) None of these

Last Answer : 7.5 – 5 = 2.5 11.25 – 7.5 = 3.75 => 3.75 – 2.5 = 1.25 11.25 – 7.5 = 3.75 17.5 – 11.25 = 6.25 => 6.25 – 3.75 = 2.5 Answer: a)

Description : The mean monthly temperature and rainfall of a station are given below: Month Temperature ºC Rainfall mm January 24 2 February 25 1 March 27 0 April 29 3 May 30 16 June 29 520 July 28 709 August 27 419 ... to which of following cities? [CDS 2004] (a) Ahmedabad (b) Bangalore (c) Mumbai (d) Vadodara

Last Answer : Ans: (c)

Description : Let A and B be two fuzzy integers defined as: A={(1,0.3), (2,0.6), (3,1), (4,0.7), (5,0.2)} B={(10,0.5), (11,1), (12,0.5)} Using fuzzy arithmetic operation given by (A) {(11,0.8), (13,1), (15,1)} ( ... ,0.2)} (D) {(11,0.3), (12,0.5), (13,0.6), (14,1), (15,0.7), (16,0.5), (17,0.2)}

Last Answer : (D) {(11,0.3), (12,0.5), (13,0.6), (14,1), (15,0.7), (16,0.5), (17,0.2)}

Description : Compute the value of adding the following two fuzzy integers: A = {(0.3,1), (0.6,2), (1,3), (0.7,4), (0.2,5)} B = {(0.5,11), (1,12), (0.5,13)} Where fuzzy addition is defined as μA+B(z) = maxx+y=z (min(μA(x), μB( ... ,18)} (D) {(0.3,12), (0.5,13), (0.6,14), (1,15), (0.7,16), (0.5,17), (0.2,18)}

Last Answer : (D) {(0.3,12), (0.5,13), (0.6,14), (1,15), (0.7,16), (0.5,17), (0.2,18)} 

Description : WOW32 is a: (A) Win 32 API library for creating processes and threads. (B) Special kind of file system to the NT name space. (C) Kernel - mode objects accessible through Win32 API (D) Special execution environment used to run 16 bit Windows applications on 32 - bit machines.

Last Answer : (D) Special execution environment used to run 16 bit Windows applications on 32 - bit machines.

Description : What are the final values of Q1 and Q0 after 4 clock cycles, if initial values are 00 in the sequential circuit shown below: (A) 11 (B) 10 (C) 01 (D) 00

Last Answer : (D) 00

Description : The ratio of the ages of Bala and Babu is 13: 11. The total of their ages is 3.6decades. The proportion of their ages after 0.95decades will be [1 Decade = 10 years] a) 24:23 b) 12:11 c) 27:24 d) 29:26

Last Answer : D Let, Bala’s age = 13A and babu’s age = 11A Then 13A + 11A = 36 A = 1.5 Bala’s age = 19.5years and Babu’s age = 16.5 years Proportion of their ages after 9.5 is = (19.5+9.5) : (16.5 + 9.5) = 29 : 26

Description : In hierarchical routing with 4800 routers, what region and cluster sizes should be chosen to minimize the size of the routing table for a three layer hierarchy? (A) 10 clusters, 24 regions and 20 routers (B ... (C) 16 clusters, 12 regions and 25 routers (D) 15 clusters, 16 regions and 20 routers

Last Answer : (D) 15 clusters, 16 regions and 20 routers Rooters minimum, then regions minimum, then clusters minimum.

Description : 1, 6, 15, ? 45, 66 , 91 (a) 25 (b) 26 (c) 27 (d) 28 

Last Answer : The difference between the number in this series is increased by 4 at each step .

Description : What is the median of this set of data values 11 13 14 15 18 20 23 26?

Last Answer : Feel Free to Answer

Description : Calculate critical damping coefficient in Ns/m from the following data. mass = 200Kg ω = 20rad/sa) 25,132 b) 26,132 c) 27,132 d) Not possible

Last Answer : d) Not possible

Description : Let P(m,n) be the statement m divides n where the Universe of discourse for both the variables is the set of positive integers. Determine the truth values of the following propositions. (a) ∃m ∀n P(m,n) (b) ∀n P(1,n) ( ... -False (C) (a)-False; (b)-False; (c)-False (D) (a)-True; (b)-True; (c)-True

Last Answer : Answer: A

Description : Match the following IEEE No to their corresponding Name for IEEE 802 standards for LANs. i) 802.3 a) WiFi ii) 802.11 b) WiMa iii) 802.15.1 c) Ethernet iv) 802.16 d) Bluetooth A) i-b, ii-c, iii-d, iv-a B) i-c, ii-d, iii-a, iv-b C) i-c, ii-a, iii-d, iv-b D) i-b, ii-d, iii-c, iv-a

Last Answer : C) i-c, ii-a, iii-d, iv-b

Description : Consider a subnet with 720 routers. If a three-level hierarchy is choosen with eight clusters, each containing 9 regions of 10 routers, then total number of entries in the routing table is ................... (A) 25 (B) 27 (C) 53 (D) 72

Last Answer : Answer: A  Explanation: Each router needs 10 entries for local routers, 8 entries for routing to other regions within its own cluster, and 7 entries for distant clusters, for a total of 25 entries.

Description : In a demand paging memory system, page table is held in registers. The time taken to service a page fault is 8 m.sec. if an empty frame is available or if the replaced page is not modified, and it takes 20 m.secs., if the replaced ... ? (A) 11.6 m.sec. (B) 16.4 m.sec. (C) 28 m.sec. (D) 14 m.sec.

Last Answer : (B) 16.4 m.sec. 

Description : The number of flip-flops required to design a modulo-272 counter is: (A) 8 (B) 9 (C) 27 (D) 11

Last Answer : 9

Description : Which of the following has compilation error in C ? (A) int n = 32; (B) char ch = 65; (C) float f= (float) 3.2; (D) none of the above

Last Answer : D

Description : What is the value returned by the function f given below when n = 100 ? int f(int n)  { if (n==0) then return n;  else return n + f(n-2);  } (A) 2550 (B) 2556 (C) 5220 (D) 5520

Last Answer : (A) 2550

Description : Consider the fractional knapsack instance n = 4, (p1, p2, p3, p4) = (10, 10, 12, 18), (w1, w2, w3, w4) = (2, 4, 6, 9) and M = 15. The maximum profit is given by (Assume p and w denotes profit and weight of objects respectively) (A) 40 (B) 38 (C) 32 (D) 30

Last Answer : (B) 38

Description : 24 14 26 ? 28 16 30 a) 13 b) 17 c) 15 d) 11 e) 20

Last Answer : The series consists of two series 1 and 2: Series 1 : 24 26 28 30 +2 +2 +2 Series 2 : 14 15 16 +1 +1 Answer: c)

Description : If the price of Mango is Rs. 130 per kg, Apple is Rs. 140 per kg and Orange is Rs. 80 per kg, then what is the ratio of their cost at vendor A? 1) 11 : 14 : 16 2) 39 : 28: 20 3) 39 : 28 : 21 4) 15 : 14 : 11 5) 39 : 26 : 20

Last Answer : 2) 39 : 28: 20

Description : Two students appeared at an examination. One of them secured 18marks more than the other and his marks was 72% of the sum of their marks. What are the marks obtained by them? a) 12.5,23.3 b) 26.7,16.0 c) 13.3,14.2 d) 11.45, 29.45 e) 29.8,15.4 

Last Answer : Answer: D  Let the marks secured by them be x and (x + 18)  Then sum of their marks = x + (x + 18) = 2x + 18  Given that (x + 18) was 72% of the sum of their marks  =>(x+18) = 72/100(2x+18)  => ... 11x = 126 x = 11.45  Then (x + 18) = 11.45 + 18 = 29.45  Hence their marks are 11.45 and 29.45

Description : Transverse joints are provided at distances varying from (A) 10 m to 15 m (B) 12 m to 18 m (C) 16 m to 24 m (D) 17 m to 27 m

Last Answer : Answer: Option D

Description : How many times does the following code segment execute int x=1, y=10, z=1; do{y--; x++; y-=2; y=z; z++} while (y>1 && z

Last Answer : A) 1

Description : Consider the following JAVA program: public class First { public static int CBSE (int x) { if (x < 100) x = CBSE (x +10); return (x - 1); } public static void main (String[] args){ System.out.print(First.CBSE(60)); } } What does this program print? (1) 59 (2) 95 (3) 69 (4) 99

Last Answer : (2) 95 

Description : Find the range of the data : 14, 15, 16, 18, 19, 25, 30, 41, 26, 16, 13, 18, 20 and 26.

Last Answer : Find the range of the data : 14, 15, 16, 18, 19, 25, 30, 41, 26, 16, 13, 18, 20 and 26.

Description : Which of the following is a typical consequence of dental crowding, assuming no primary tooth has been lost prematurely? A. Overlapping of lower incisors B. Palatal displacement of upper canines C. Impaction ... and first molars D. Mesial tipping of 16 and 26 E. Rotation of 16 and 26

Last Answer : A. Overlapping of lower incisors

Description : In Unix, the command to enable execution permission for file “mylife” by all is ................ (A) Chmod ugo+X myfile (B) Chmod a+X myfile (C) Chmod +X myfile (D) All of the above

Last Answer : (D) All of the above

Description : A very famous chemist was found murdered in his kitchen today. The police have narrowed it down to six suspects. They know it was a two man job. Their names: Felice, Maxwell, Archibald, Nicolas, Jordan, and Xavier ... was also found with the body: '26-3-58/28-27-57-16'. Who are the killers? -Riddles

Last Answer : Felice and Nicholas are the murderers. The numbers correspond to atomic numbers on the periodic table of elements: 'Fe-Li-Ce/Ni-Co-La-S'.

Description : A CPU handles interrupt by executing interrupt service subroutine................. (A) by checking interrupt register after execution of each instruction (B) by checking interrupt register ... cycle (C) whenever an interrupt is registered (D) by checking interrupt register at regular time interval

Last Answer : (A) by checking interrupt register after execution of each instruction

Description : The content of the accumulator after the execution of the following 8085 assembly language program, is: MVI A, 42H  MVI B, 05H UGC: ADD B DCR B JNZ UGC ADI 25H HLT (A) 82 H (B) 78 H (C) 76 H (D) 47 H

Last Answer : (C) 76 H

Description : The content of the accumulator after the execution of the following 8085 assembly language program, is MVI A, 35H MOV B, A STC CMC RAR XRA B (A) 00H (B) 35H (C) EFH (D) 2FH

Last Answer : (D) 2FH

Description : The number of function points of a proposed system is calculated as 500. Suppose that the system is planned to be developed in Java and the LOC/FP ratio of Java is 50. Estimate the effort (E) required to ... ) 25 person months (B) 75 person months (C) 62.5 person months (D) 72.5 person months

Last Answer : (C) 62.5 person months 

Description : The pair having the same magnetic moment is [at. No. `Cr = 24, Mn = 25, Fe = 26 " and " Co = 27]`

Last Answer : The pair having the same magnetic moment is [at. No. `Cr = 24, Mn = 25, Fe = 26 " and " Co = 27]` A. `[Cr( ... (H_(2)O)_(6)]^(2+) and [CoCl_(4)]^(2-)`

Description : What solve which of these numbers is prime is it a. 25 or b. 26 c. 27 d. 28 e. 29?

Last Answer : It is e: 29

Description : What is the output of the following? i = 5 while True: if i%0O9 == 0: break print(i) i += 1 a) 5 6 7 8 b) 5 6 7 8 9 c) 5 6 7 8 9 10 11 12 13 14 15 …. d) error

Last Answer : d) error

Description : Find the range of the given data : 25, 18, 20, 22, 16, 6, 17, 15, 12, 30, 32, 10, 19, 8, 11, 20 -Maths 9th

Last Answer : Here, the minimum and maximum values of given data are 6 and 32 respectively. Range = 32 – 6 = 26

Description : Find the range of the given data : 25, 18, 20, 22, 16, 6, 17, 15, 12, 30, 32, 10, 19, 8, 11, 20 -Maths 9th

Last Answer : Here, the minimum and maximum values of given data are 6 and 32 respectively. Range = 32 – 6 = 26