Saturday session Quiz 4

1.) How do you define a function?
a .) fun
b.) def
c.) function
d.) None of above

2.) What is the use of .lower ?
a.) use to lower the text
b.) use to upper the text
c.) use to lower first alphabet of text

3.) What is the full form of ASCII?
a.) American standard code for information interchange
b.) American stand code for information interchange
c.) Arduino standard code for information interchange
d.) None of above.

4.) To convert a string to list what can be used ?
a.) .join ()
b.) .split ()
c ) .string ()
d ) None of above

5.) To convert a list to string what can be used ?
a.) .join ()
b.) .split ()
c ) .string ()
d ) None of above

6.) what will be output for following code :
ord(‘a’) ?
a.) 65
b.) 97
c.) None of above

3 Likes
  1. def
  2. use to lower the text
  3. american stand code for information interchange
    4.split()
    5.join()
    6.65
1 Like

1.a
2.a
3.a
4.d
5.b

6.a

1 Like

1 = b , 2 = a , 3 = a , 4 = b , 5 = a , 6 = a

1 Like

1.b
2.a
3.a
4.b
5.a
6.a

1 Like

1)b)def
2)a) use to lower the text
3)a)American standard code for information interchange
4)b).split()
5)a).join()
6)b)97

1 Like

1.def
2. Use to lower the text
3. American standard code for information interchange
4. .split ()
5. .join ()
6.65

1 Like

1.b
2.c
3.a
4.a
5.c
6.a

1 Like
  1. b
  2. a
  3. a
  4. d
  5. b
  6. a
1 Like
  1. B
    2.a
    3.a
    4.b
    5.a
    6.a
1 Like

Amazing Guys , Keep it up

1.c
2.a
3.a
4.b
5.c
6.b

1 Like
  1. b
  2. a
  3. a
  4. b
  5. a
  6. b
1 Like

1)b.def
2)a. used to lower a text
3)a. American standard code for information interchange
4)b.split()
5.join()
6)b.97

1 Like

for question1 correct answer is def option b @swarnadhanesh

  1. def
  2. use to lower the text
  3. American standard code for information interchange
  4. .split()
  5. .join()
    6.65
1 Like

1 . b
2 . a
3 . a
4 . b
5 . a
6 . a

1 Like

1.b
2.a
3.a
4.b
5.a
6.a

1 Like

1.a
2.a
3.a
4.d
5.b
6.a

1 Like

1.B def
2.A use to lower the text
3.A American standard code for information interchange
4.B .split((

5.A .join()
6.A 97

1 Like