MCQs > IT & Programming > Symbian Platform Python > Analyze the following code for creating tabs that are used to switch between different application pages. What is the output of the code? Line 1: import appuifw Line 2: import e32 Line 3:app1 = appuifw.Text(u'Appliation o-n-e is on') Line 4:app2 = appuifw.Text(u'Appliation t-w-o is on') Line 5:app3 = appuifw.Text(u'Appliation t-h-r-e-e is on') Line 6:def exit_key_handler(): Line 7: app_lock.signal() Line 8:def handle_tab(index): Line 9: global lb Line 10: if index == 0: Line 11: appuifw.app.body = app1 Line 12: if index == 1: Line 13: appuifw.app.body = app2 Line 14: if index == 2: Line 15: appuifw.app.body = app3 Line 16:app_lock = e32.Ao_lock() Line 17:appuifw.app.tabs_set([u'One', u'Two', u'Three'],handle_tab) Line 18:appuifw.app.title = u'Tabs' Line 19:appuifw.app.body = app1 Line 20:appuifw.app.exit_key_handler = exit_key_handler Line 21:app_lock.wait()

Symbian Platform Python MCQs

Analyze the following code for creating tabs that are used to switch between different application pages. What is the output of the code? Line 1: import appuifw Line 2: import e32 Line 3:app1 = appuifw.Text(u"Appliation o-n-e is on") Line 4:app2 = appuifw.Text(u"Appliation t-w-o is on") Line 5:app3 = appuifw.Text(u"Appliation t-h-r-e-e is on") Line 6:def exit_key_handler(): Line 7: app_lock.signal() Line 8:def handle_tab(index): Line 9: global lb Line 10: if index == 0: Line 11: appuifw.app.body = app1 Line 12: if index == 1: Line 13: appuifw.app.body = app2 Line 14: if index == 2: Line 15: appuifw.app.body = app3 Line 16:app_lock = e32.Ao_lock() Line 17:appuifw.app.tabs_set([u"One", u"Two", u"Three"],handle_tab) Line 18:appuifw.app.title = u"Tabs"Line 19:appuifw.app.body = app1 Line 20:appuifw.app.exit_key_handler = exit_key_handler Line 21:app_lock.wait()

Answer

Correct Answer:

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Symbian Platform Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Symbian Platform Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it