SELECT *
FROM (`youtube_videos`)
WHERE `display_status` = 1
ORDER BY `video_id` desc
LIMIT 1SELECT *
FROM (`youtube_videos`)
WHERE `display_status` = 1
ORDER BY `video_id` desc 12th Standard Computer Science English Medium Reduced Syllabus Model Question paper With Answer Key- 2021 Part - 1 12th Standard
Computer Science Part I Answer all the questions. Choose the most suitable answer from the given four alternatives and write the option code with the corresponding answer. Which of the following defines what an object can do? Operating System Compiler Interface Interpreter A sequence of immutable objects is called Built in List Tuple Derived data Which of the following is not a type of llteral? Numeric Expression String Boolean What plays a vital role in Python programming? Statements Control Structure Indentation How many important control structures in python? 2 3 4 many print (type ('a')) displays A group of related statement that perform a specific task is called as ______ Lists Tuples Control statements Functions Which of the following operators are useful to do string manipulation? +, - *, / + * ; " Adding more strings at the end of an existing string is known as Con cat Con catenation Join Append Which function returns the number of substrings occurs within the given range? return () count () substring () range () Which of the following operator is used to intersect two sets in python? | ^ & $ In database, the data stored in ___________ Tables Sets Lists DBMS DCL stands for Dynamic Control Language Data Communication Language Data Control Language Dynamic Data Control Language A ________ is a string used to terminate lines produced by writer ( ) Line Custom Delimiters Line Terminator Quotes Which values cannot be counted? Integer String Float Null In Python matplotlib is a control structure dictionary library list Which parameter used to display ( ) the percentage value using Python string formatting in pie chart? percent autopct pet percentage Part II Answer all the questions. Question no. 23 is compulsory. Do you modify a string in Python? How will you manipulate the strings? What it means "String in phython are immutable"? Write the syntax for the following Write a note on public and private data members of python class. How the SQL DISTINCT class is helpful to you? Part III Answer all the questions. Question no. 27 is compulsory. Why access control is required? What are string literals? Explain. Write a program to accept a string and print it in reverse order. Write the usage of the following format string characters. What are class members? How do you define it? Find the error in the following program to get the given output? Define Data Control Language and also list the command under this. Part IV Answer all the questions. Explain the concept access control. Explain about string operators in python with suitable example. Write a program to check and print if the given number is negative or positive using class. Write a python program to execute the following C++ program Answers Interface Tuple Expression Indentation 3 Functions + * Append count () & Tables Data Control Language Line Terminator Null library autopct
12th Standard Computer Science English Medium Reduced Syllabus Model Question paper With Answer Key- 2021 Part - 1
Question Bank Software Feb-03 , 2021
12th Standard Computer Science English Medium Reduced Syllabus Model Question paper With Answer Key- 2021 Part - 1
Reg.No. :
(i) Creating objects
(ii) Accessing class members
(i) % c
(ii) % d (or) % i
(iii) % s
class Fruits:
def __init__(self, f1, f2):
self.f1 = f1
self.f2 = f2
def display(self):
print("Fruit 1 = %s, Fruit 2 = %s" %(self.f1, self.f2))
F = Fruits ('Apple', 'Mango')
del F.display
F.display()
Output: Fruit 1 = Apple, Fruit 2 = Mango
To implement Multilevel Inheritance:
// C++ program to implement Multilevel Inheritance
// Now select File ⟶New in Notepad and type the C++ program
c++ Program.
#include < iostream >
using namespace std;
// base class
class Vehicle
{
public:
Vehicle ( )
{
cout<< "This is a Vehicle" << endl;
}
};
class threeWheeler: public Vehicle
{ public:
three Wheeler ( )
{
cout << "Objects with 3 wheels are vehicles" << endl;
}
};
// sub class derived from two base classes
class Auto: public threeWheeler{
public:
Auto ( )
{
cout<< "Auto has 3 Wheels"<< endl;
};
// main function
int main ( )
{
//creating object of sub class will invoke the constructor of base classes
Auto obj;
return 0;
}
// Save this file as inheri_cpp.cpp
*****************************************
Reviews & Comments about 12th Standard Computer Science English Medium Reduced Syllabus Model Question paper With Answer Key- 2021 Part - 1
Write your Comment