0% found this document useful (0 votes)
33 views15 pages

6 Sem Question Papers

these will be helpful

Uploaded by

tiwarimanoj1405
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
33 views15 pages

6 Sem Question Papers

these will be helpful

Uploaded by

tiwarimanoj1405
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 15
Bias ‘Anjuman--Islam’s M.H.SABOO SIDDIK POLYTECHNIC 8, Saboo Siddik Polytechnic Road, Byculla, Mumbai ~ 400 008. UNIT TEST-1 COURSE Computer Egigineering ‘SUBJECT CODE | 22616 _| NAME OF Programming with Python MARKS 20 SUBJECT (ew) SEMESTER COST TIME 10:00 am to 11:00 am DURATION THR DATE 17-03-2023. Q.1 Attempt any FOUR 08 Marks ‘A. Write the difference Between Scripting and Programming language? B. Write any 8 features of Python? C. What are the basic modes of Python? D. Write a command line argument program to add the numbers. E. Explain membership and identity operator with example. Q.2 Attempt any THREE 12 Marks ‘A. Explain all the Python Data types in detail? : 4 B. Explain the difference between a. List and Dictionary b. List and a Tuple. C. Write a Python Program to Solve Quadratic Equation. ‘ D. WAP in python which will print the Fibonacci series of any number entered by the user. SORE ODIO 16.03.2023/ 12:00 noon to 01:00 pm Anjuman-i-isiam's M. H. SABOO SIDDIK POLYTECHNIC 8, Saboo Siddik Polytechnic Road, Byculla, Mumbai ~ 400 008, * CLASS TEST -1 CO-6-1 WBP (22619) Duration -1 Hour Max. Marks -20 Q.1. Answer the following in 3-4 sentences (any 4): (2x4=8 Marks) a) List any four advantages of PHP. b) Write a script to create a PDF file. Add data of a text file into this newly created PDF file. ¢) Differentiate between array_walk( ) and array_map()) functions. d) Explain the following string function with syntax and example * str_replace( ) e) Write a script to illustrate the use of parametrized constructor in PHP. f) Write a script to print the following pattern: sense Q.2. Attempt any Three of the following: (4x3=12 Marks) a) What is scope of a variable? Explain any two types with suitable examples b) Explain the concept of Abstract class with proper example. ¢) Write a seript to create multiple anonymous functions in a single array. d) Write a script to implement the concept of Multiple Inheritance in PHP. ieee EEO 15.03.2023/ 12:00 Noon to 04:00 pm Anjuman--Isiam's M.H.SABOO SIDDIK POLYTECHNIC 8, SabooSiddik Polytechnic Road, Byculla, Mumbai ~ 400 008. | CLASS TEST —1 [ . CO-6-1 MAD (22617) Duration -1 Hour Max. Marks -20 Q.1. Attempt any Four Questions: (4X2=8) a, Differentiate between JVM and DVM b, Explain any two UI Components. ¢. Why to use Android platform for mobile app development. d. Explain android application components. e. Explain AutoCompleteText view. f. Observe following GUI and write XML file using Relative layout Q.2. Attempt any Thiree Questions: a. Explain Android Architecture with diagram b, Short note on AVD and Emulator. a ce. Develop a simple calculator using table layout. make use of Radio group and Radio button (write XML and Java source code) 4. Develop student registration form and consider following data: student ID, Name, selected course (make use of checkbox) and Toast student data (only java source code). erence Date / Time: 27.04.2023/ 12:00 noon to 01:1 Anjuman-i-siam’s M. H. SABOO SIDDIK POLYTECHNIC Saboo Pc nic Road, Byculla, Mumbai — 400 CLASS TEST - Il Cco-6-1 WBP (22619) Max. Marks -20 Duration -1 Hour Q.1. Answer the following in 3-4 sentences (any 4): (2x4=8 Marks) a) List any four Introspection functions in PHP. : b) Differentiate between GET & SET method. ¢) List any 4 functions to fetch data from database. i d) Write a script to create multiple forms in a single file & send data to different PHP script files. ‘@) Write the syntax for creating a cookie in PHP. f) Explain any two methods to execute regular expressions in PHP with proper example. Q.2. Attempt any Three of the following: (4x3=12 Marks) a) Explain the concept of Method Overloading in PHP with suitable examples. b) Write a PHP script for Shallow copy & Deep copy. c) Write a PHP script to retrieve data from MySQL database. d) Differentiate between the following Database API in PHP. 4. MySQL 2. MySQLi 3. PDO [rence es Explain any four Python's Built-in Function with example. Write a Python program to find the factorial of a number "provided by the user. Attempt any THREE of the following: 12 Write a python program to input any two tuples and interchange the tuple variables, Explain Bitwise operator in Python with appropriate example. With neat example differentiate between readline() and readlines() functions in file-handling. Describe 'Self Parameter with example. Attempt any THREE of the following: Differentiate between list and Tuple. Explain any four file modes in Python. Write a program to show user defined exception in Python, Explain Module and its use in Python. Attempt any TWO of the following: : Write a Python Program to check if a string is palindrome _ . Program to accept values Attempt any TWO of the following: Explain any six set function with example. Design a class student with data members : name, roll no., — department, mobile no. Create suitable methods for reading and printing student information. With suitable example explain inheritance in Python. © (d) Attempt any THREE of the following : @ 0) [2 of] t any THREE of the following : Differentiate between implode and explode functions. Explain the concept of cloning of an object. Describe the procedure of validation of web page. Write update & delete operations on table data. (@) State user defined function and explain it with example. i Detennes ier Gnce overloading, overdiding & cloning object! (©) Explain web server role in web development. (4) Explain inserting & retrieving the query result operations. (©) Create a web page using GUI components. Attempt any TWO of the following : 12 (@) Implement any three data types used in PHP with illustration. (b) Write a program to connect PHP with MySQL. (©) Explain the concept of constructor and destiuctor in detail, Attempt any TWO of the following : (a) (b) © Describe form controls ~ text box, text area, radio button, check box, list & buttons. : Write a program to create PDF document in PHP. Elaborate the following : @ _eallo [3] Attempt any TWO of the following: Design an android application to show the list of paired devices by Bluetooth. Develop an android application for sending Short Message Service (SMS), ©) Explain how linear and frame layout is used to design an android application with suitable example.

You might also like