What is the output when following statement is executed ?
>>>"a"+"bc"
a) a
b) bc
c) bca
d) abc

1 Answer

Answer :

b) bc

Related questions

Description : String Processing --- Write out a function that prints out all the permutations of a string. For example, abc would give you abc, acb, bac, bca, cab, cba.

Last Answer : void PrintPermu (char *sBegin, char* sRest) { int iLoop; char cTmp; char cFLetter[1]; char *sNewBegin; char *sCur; int iLen; static int iCount; iLen = strlen(sRest); if (iLen == 2) { iCount++; ... printf("\nEnter a string:"); scanf("%s%*c",sIn); memset(s,0,255); PrintPermu(s, sIn); }

Description : What is the full form of 'BCA' ? -How To ?

Last Answer : The full form of 'BCA' is Bachelor of Computer Application

Description : What is the best university or college for a BCA in Himachal Pradesh?

Last Answer : The needs of the market is changing, where more professionally-oriented freshers are on-demand than those with simple academical backgrounds. It is the duty of universities and colleges to ... famously known for having interesting courses such as they have recently introduced specialisation in two

Description : ABC is a triangle right angled at C. A line through the mid-point M of hypotenuse AB and parallel to BC intersects AC at D. Show that (i) D is the mid-point of AC (ii) MD ⊥ AC (iii) CM = MA = ½ AB -Maths 9th

Last Answer : Solution: (i) In ΔACB, M is the midpoint of AB and MD || BC , D is the midpoint of AC (Converse of mid point theorem) (ii) ∠ACB = ∠ADM (Corresponding angles) also, ∠ACB = 90° , ∠ADM = 90° and MD ⊥ AC (iii ... SAS congruency] AM = CM [CPCT] also, AM = ½ AB (M is midpoint of AB) Hence, CM = MA = ½ AB

Description : D, E and F are respectively the mid-points of the sides AB, BC and CA of a triangle ABC. -Maths 9th

Last Answer : Since the segment joining the mid points of any two sides of a triangle is half the third side and parallel to it. DE = 1 / 2 AC ⇒ DE = AF = CF EF = 1 / 2 AB ⇒ EF = AD = BD DF = 1 ... △DEF ≅ △AFD Thus, △DEF ≅ △CFE ≅ △BDE ≅ △AFD Hence, △ABC is divided into four congruent triangles.

Description : In the fig, D, E and F are, respectively the mid-points of sides BC, CA and AB of an equilateral triangle ABC. -Maths 9th

Last Answer : Since line segment joining the mid-points of two sides of a triangle is half of the third side. Therefore, D and E are mid-points of BC and AC respectively. ⇒ DE = 1 / 2 AB --- (i) E and F are the mid - ... CA ⇒ DE = EF = FD [using (i) , (ii) , (iii) ] Hence, DEF is an equilateral triangle .

Description : ABC is a triangle right-angled at C. A line through the mid-point M of hypotenuse AB parallel to BC intersects AC ad D. -Maths 9th

Last Answer : Given: A △ABC , right - angled at C. A line through the mid - point M of hypotenuse AB parallel to BC intersects AC at D. To Prove: (i) D is the mid - point of AC (ii) MD | AC (iii) CM = MA = 1 / 2 ... congruence axiom] ⇒ AM = CM Also, M is the mid - point of AB [given] ⇒ CM = MA = 1 / 2 = AB.

Description : D, E and F are respectively the mid-points of the sides AB, BC and CA of a triangle ABC. -Maths 9th

Last Answer : Since the segment joining the mid points of any two sides of a triangle is half the third side and parallel to it. DE = 1 / 2 AC ⇒ DE = AF = CF EF = 1 / 2 AB ⇒ EF = AD = BD DF = 1 ... △DEF ≅ △AFD Thus, △DEF ≅ △CFE ≅ △BDE ≅ △AFD Hence, △ABC is divided into four congruent triangles.

Description : In the fig, D, E and F are, respectively the mid-points of sides BC, CA and AB of an equilateral triangle ABC. -Maths 9th

Last Answer : Since line segment joining the mid-points of two sides of a triangle is half of the third side. Therefore, D and E are mid-points of BC and AC respectively. ⇒ DE = 1 / 2 AB --- (i) E and F are the mid - ... CA ⇒ DE = EF = FD [using (i) , (ii) , (iii) ] Hence, DEF is an equilateral triangle .

Description : ABC is a triangle right-angled at C. A line through the mid-point M of hypotenuse AB parallel to BC intersects AC ad D. -Maths 9th

Last Answer : Given: A △ABC , right - angled at C. A line through the mid - point M of hypotenuse AB parallel to BC intersects AC at D. To Prove: (i) D is the mid - point of AC (ii) MD | AC (iii) CM = MA = 1 / 2 ... congruence axiom] ⇒ AM = CM Also, M is the mid - point of AB [given] ⇒ CM = MA = 1 / 2 = AB.

Description : In triangle ABC, angle B =35° , angle C =65° and the bisector of angle BAC meets BC in X. Arrange AX, BX and CX in descending order. -Maths 9th

Last Answer : NEED ANSWER

Description : triangle ABC is right angled at A. AL is drawn perpendicular to BC. Prove that /_ BAL = /_ ACB -Maths 9th

Last Answer : NEED ANSWER

Description : In triangle ABC, angle B =35° , angle C =65° and the bisector of angle BAC meets BC in X. Arrange AX, BX and CX in descending order. -Maths 9th

Last Answer : This answer was deleted by our moderators...

Description : triangle ABC is right angled at A. AL is drawn perpendicular to BC. Prove that /_ BAL = /_ ACB -Maths 9th

Last Answer : This answer was deleted by our moderators...

Description : ABC and DBC are two triangles on the same BC such that A and D lie on the opposite sides of BC,AB=AC and DB = DC.Show that AD is the perpendicular bisector of BC. -Maths 9th

Last Answer : Solution :-

Description : D,E and F are the mid-points of the sides BC,CA and AB,respectively of an equilateral triangle ABC.Show that △DEF is also an euilateral triangle -Maths 9th

Last Answer : Solution :-

Description : ABC is a triangle right-angled at C. A line through the mid-point of hypotenuse AB and parallel to BC intersects AC at D. Show that -Maths 9th

Last Answer : Solution :-

Description : in triangle abc if bd =1/3 bc then prove that 9(ad -Maths 9th

Last Answer : This answer was deleted by our moderators...

Description : in triangle abc if bd =1/3 bc then prove that 9(ad -Maths 9th

Last Answer : This answer was deleted by our moderators...

Description : If in equilateral triangle ABC, AD is perpendicular on BC then Prove that 3ABsquar=4ADsquare -Maths 9th

Last Answer : This answer was deleted by our moderators...

Description : Let O be any point inside a triangle ABC. Let L, M and N be the points on AB, BC and CA respectively, -Maths 9th

Last Answer : answer:

Description : The bisectors of the angles of a triangle ABC meet BC, CA and AB at X, Y and Z respectively. -Maths 9th

Last Answer : answer:

Description : In an equilateral triangle ABC, the side BC is trisected at D. Then AD^2 is equal to -Maths 9th

Last Answer : answer:

Description : In the given figure, ABC is an equilateral triangle of side length 30 cm. XY is parallel to BC, XP is parallel to AC and YQ is parallel to AB. -Maths 9th

Last Answer : answer:

Description : Let ABC be a triangle of area 16 cm^2 . XY is drawn parallel to BC dividing AB in the ratio 3 : 5. If BY is joined, then the area of triangle BXY is -Maths 9th

Last Answer : answer:

Description : Let ABC be a triangle. Let D, E, F be points respectively on segments BC, CA, AB such that AD, BE and CF concur at point K. -Maths 9th

Last Answer : answer:

Description : Side AC of a right triangle ABC is divided into 8 equal parts. Seven line segments parallel to BC are drawn to AB from the points of division. -Maths 9th

Last Answer : answer:

Description : If a + b + c = 9 and ab + bc + ca = 23, then a3 + b3 + c3 – 3 abc = (a) 108 (b) 207 (c) 669 (d) 729 -Maths 9th

Last Answer : a+b+c=9 and a2+b2+c2=35 Using formula, (a+b+c)2=a2+b2+c2+2(ab+bc+ca) 92=35+2(ab+bc+ca) 2(ab+bc+ca)=81−35=46 (ab+bc+ca)=23 using formula, (a3+b3+c3)−3abc=(a2+b2+c2−ab−bc−ca)(a+b+c) a3+b3+c3−3abc=(35−23)×9=9×12=108

Description : In triangle ABC, D and E are mid-points of the sides BC and AC respectively. Find the length of DE. Prove that DE = 1/2AB. -Maths 9th

Last Answer : First Find the points D and E by midpoint formula. (x₂+x₁/2 , y₂+y₁/2) For DE=1/2AB In ΔsCED and CAB ∠ECD=∠ACB and the ratio of the side containing the angle is same i.e, CD=1/2BC ⇒CD/BC=1/2 EC=1/2AC ⇒EC/AC=1/2 ∴,ΔCED~ΔCAB hence the ratio of their corresponding sides will be equal, DE=1/2AB

Description : In the following figure, (not to scale) ABC is triangle, where AB=1 unit, BC=`sqrt(3)` units and AC=2 units What is the relationship among AB,BC and C

Last Answer : In the following figure, (not to scale) ABC is triangle, where AB=1 unit, BC=`sqrt(3)` units ... units What is the relationship among AB,BC and CA?

Description : In the above figure ( not to scale ) the sides BA,BC and CA of` Delta ABC` are produced to D,F, and E respectively such that `/_ ACF= 120^(@)` and `/_

Last Answer : In the above figure ( not to scale ) the sides BA,BC and CA of` Delta ABC` are produced to D,F, and E ... /_ BAE= 150^(@)`. Then `/_ ABC = ________`.

Description : Figure abc is rectangle. segment AB is 6cm long , segment BC is 8 cm long , and segment AC is 10 cm long. what is the area of triangle abc?

Last Answer : 28

Description : D and E are respectively the points on the sides AB and AC of a triangle ABC such that AD = 2 cm, BD = 3 cm, BC = 7.5 cm and DE || BC. Then, length of DE (in cm) is (a) 2.5 (b) 3 (c) 5 (d) 6

Last Answer : (b) 3

Description : A (5,-1) , B (-3,-2) and C (-1,8) are the vertices of ∆ ABC . The median from A meets BC at D ,then the coordinates of the point D are: (a) (-4,6) (b) (2,7/2) (c) (1,-3/2) (d) (-2,3)

Last Answer : (d) (-2,3)

Description : In ∆ ABC, right-angled at B, AB = 24 cm, BC = 7 cm. The value of tan C is: a 12/7 b 24/7 c 20/7 d 7/24

Last Answer : b 24/7

Description : The area of a plane triangle ABC, having its base AC and perpendicular height , is  (A) ½ bh (B) ½ ba sin C (C) ½ bc sin A (D) All the above

Last Answer : (D) All the above

Description : The bearing of line AB is 152° 30' and angle ABC measured clockwise is 124° 28'. The bearing of BC is (A) 27° 52' (B) 96° 58' (C) 148° 08' (D) 186° 58'

Last Answer : (B) 96° 58'

Description : The bearings of the lines AB and BC are 146° 30' and 68° 30'. The included angle ABC is (A) 102° (B) 78° (C) 45° (D) None of these

Last Answer : (A) 102

Description : What is the output when following statement is executed ? >>> print(‘x\97\x98’) a) Error b) 97 98 c) x\97 d) \x97\x98

Last Answer : c) x\97

Description : What is the output when following statement is executed ? >>>print('new' 'line') a) Error b) Output equivalent to print ‘new\nline’ Page No 22 c) newline d) new line

Last Answer : c) newline

Description : What is the output when following statement is executed ? >>>"abcd"[2:] a) a b) ab c) cd d) dc

Last Answer : c) cd

Description : If the value of basic = 1500, what will be the value of tax after the following statement is executed tax = basic > 1200 ? 200 : 100

Last Answer : Ans. 200

Description : What is the output of the following piece of code when executed in Python shell? >>> a=("Check")*3 >>> a a) (‘Check’,’Check’,’Check’) b) * Operator not valid for tuples c) (‘CheckCheckCheck’) d) Syntax erro

Last Answer : c) (‘CheckCheckCheck’)

Description : What is the output when following code is executed ? >>>list1 = [11, 2, 23] >>>list2 = [11, 2, 2] >>>list1 < list2 is a) True b) False c) Error d) None

Last Answer : b) False

Description : What is the output when following code is executed ? names1 = ['Amir', 'Bear', 'Charlton', 'Daman'] names2 = names1 names3 = names1[:] names2[0] = 'Alice' names3[1] = 'Bob' sum = 0 for ls in (names1, names2, names3): ... if ls[1] == 'Bob': sum += 10 print sum a) 11 b) 12 c) 21 d) 22

Last Answer : d) 22

Description : What is the output when following code is executed ? >>>names = ['Amir', 'Bear', 'Charlton', 'Daman'] >>>print(names[-1][-1]) a) A b) Daman c) Error d) n

Last Answer : b) Daman

Description : What is the output when following code is executed ? >>>str1="helloworld" >>>str1[::-1] a) dlrowolleh b) hello c) world d) helloworld

Last Answer : a) dlrowolleh

Description : hat is the output when following code is executed ? >>>print r"\nhello" The output is a) a new line and hello b) \nhello c) the letter r and then hello d) error

Last Answer : d) error

Description : What is the output when following code is executed ? >>> str1 = 'hello' >>> str2 = ',' >>> str3 = 'world' >>> str1[-1:] a) olleh b) hello c) h d) o

Last Answer : b) hello

Description : What will be the output at PORT1 if the following program is executed? MVI B, 82H MOV A, B MOV C, A MVI D, 37H OUT PORT1 HLT (A) 37H (B) 82H (C) B9H (D) 00H

Last Answer : Answer: B Explanation: In 8085 programming, the result of an operation is stored in the accumulator. So output is 82H.