No products in the cart.

Ask questions which are clear, concise and easy to understand.

Ask Question
  • 2 answers

Himanshu Rajput 5 years, 6 months ago

Basically recursive function is used in a function to call itself through ithat function

Khushbu Garg 5 years, 6 months ago

 In Python, a function is recursive if it calls itself and has a termination condition.

  • 1 answers

Sia ? 3 years, 5 months ago

A global variable is a variable that is accessible globally. A local variable is one that is only accessible to the current scope, such as temporary variables used in a single function definition.

  • 1 answers

Suyash Pratap 5 years, 6 months ago

S="Mam" # Mam is a palindrome L=S.len() S1="" For i in range (l-1,0,1) S1 =S + S.ch(i) If S1 = S Print("palindrome") Else Print (" not a palindrome ") It is in python language
  • 1 answers

Aman Kumar 5 years, 6 months ago

Select employee_number , name , salary , (15/100)*salary as new_salary from < table name>
  • 0 answers
  • 1 answers

✍️ ? 5 years, 6 months ago

Python version 3.x
  • 1 answers

Khushbu Garg 5 years, 6 months ago

<code>##</code>

<code># Python's program to get the day of week of today or given date.</code>

 

<code>import</code> <code>datetime</code>

 

<code>dayofweek </code><code>=</code> <code>datetime.date(</code><code>2010</code><code>, </code><code>6</code><code>, </code><code>16</code><code>).strftime(</code><code>"%A"</code><code>)</code>

<code>print</code><code>(dayofweek)</code>

<code># weekday Monday is 0 and Sunday is 6</code>

<code>print</code><code>(</code><code>"weekday():"</code><code>, datetime.date(</code><code>2010</code><code>, </code><code>6</code><code>, </code><code>16</code><code>).weekday())</code>

 

<code># isoweekday() Monday is 1 and Sunday is 7</code>

<code>print</code><code>(</code><code>"isoweekday()"</code><code>, datetime.date(</code><code>2010</code><code>, </code><code>6</code><code>, </code><code>16</code><code>).isoweekday())</code>

 

<code>dayofweek </code><code>=</code> <code>datetime.datetime.today().strftime(</code><code>"%A"</code><code>)</code>

<code>print</code><code>(dayofweek)</code>

<code>print</code><code>(</code><code>"weekday():"</code><code>, datetime.datetime.today().weekday())</code>

<code>print</code><code>(</code><code>"isoweekday()"</code><code>, datetime.datetime.today().isoweekday())</code>

  • 1 answers

Khushbu Garg 5 years, 7 months ago

Hard disks, as the name implies, use rigid platters onto which the recording material is coated. 

Floppy disks are low capacity storage due to having only two recording surfaces versus several in a hard disk

  • 1 answers

Sia ? 3 years, 5 months ago

There are two main differences between dynamic typing and static typing that you should be aware of when writing transformation scripts. First, dynamically-typed languages perform type checking at runtime, while statically typed languages perform type checking at compile time.
  • 1 answers

Yogita Ingle 5 years, 7 months ago

  • If two or more functions are given the same name but different no/type of arguments then it is called as function overloading. One thing to keep in mind is that functions are not differentiated on the basis of their return type, they are known distinct to compiler only if they have different no/type of arguments.
  • It means functions having same name and same no and type of arguments but with different return type generate error.
  • However default arguments are the arguments for which if no value is passed in function call, they use some default value provided by the programmer already.
  • Though these default arguments can be avoided if some value is passed while function call, they are easier if some constant value is to be passed repeatedly and change in the value is very less frequent.
  • 1 answers

Vinay Rj 5 years, 7 months ago

First class name 2nd decide private,public or protected 3rd create function for inputdata 4th create function for showdata 5th then void main for objects and run your program
  • 1 answers

Khushbu Garg 5 years, 7 months ago

 Python program to find the factorial of a number provided by the user.

# change the value for a different result
num = 8

# uncomment to take input from the user
#num = int(input("Enter a number: "))

factorial = 1

# check if the number is negative, positive or zero
if num < 0:
   print("Sorry, factorial does not exist for negative numbers")
elif num == 0:
   print("The factorial of 0 is 1")
else:
   for i in range(1,num + 1):
       factorial = factorial*i
   print("The factorial of",num,"is",factorial)

  • 0 answers
  • 4 answers

Anjali Katiyar 5 years, 6 months ago

Ha jo 11 me c++ padhe hai vo c++ hi padhege

Priya Dharshini ? 5 years, 7 months ago

U can choose either c++ or python in ur board... it depends upon ur school. If ur school taught u c++ u will give c++ in paper

Aman Kumar 5 years, 7 months ago

Haan..jo students 11th mai c++ padhe hai wo 12th mai bhi c++hi padhenge...

Kumar Vishal Behera 5 years, 7 months ago

Yes board will give questions containing both c++ amd python
  • 0 answers
  • 2 answers

Priya Dharshini ? 5 years, 7 months ago

In python u have almost same like last year... functions and few more new things are introduced... strings,list,tupples,mysql, Boolean logic are also there... Now 2019-2020 batch can choose either c++ or python fot board exams... i dont know about c++ syllabus

Kumar Vishal Behera 5 years, 7 months ago

Python or c++??
  • 1 answers

Yogita Ingle 5 years, 7 months ago

A Photodiode is an example of an optoelectronic junction device, which implies that it is used as an electrical to optical or an optical to electrical transducer. It works on the effect of light falling onto a diode which leads to the generation of current through it. It is implemented over a special p-n junction diode by fabricating a transparent window on top of it which allows light to be incident on the diode.

  • 3 answers

Anjali Katiyar 5 years, 6 months ago

I am using sumita arora's book

Priya Dharshini ? 5 years, 7 months ago

Ya right now sumita arora is prefered by many schools.. if u practice that book it is more than enough u need logics and short cut methods to come out with new programms..... i dont prefer tutions for c.s if possible 2 months or 3 months course on python u can do... after ur 12th boards if u want to go to IT fields other wise u can get 2 months coaching for learning basics in ur vacations it would be helpful

Aman Kumar 5 years, 7 months ago

Listen...brother.?.I m also a python student.....and u may take sumita arora...and current I have not taken any computer tuition....but if needed then I will take it......if programming is easy for uh...then....u can take this subject by self study also...but if it is not...then there is no harm in taking tuition of it..?
  • 3 answers

Priya Dharshini ? 5 years, 7 months ago

I mean to say, this year c.s text book is changed to c++ to python

Aman Kumar 5 years, 7 months ago

Hmmm

Kumar Vishal Behera 5 years, 7 months ago

Couldn't get your question
  • 0 answers
  • 3 answers

Mohammed Imran 5 years, 7 months ago

No now joining new its is phyton and now who goes to 12th studied the c++ only

✍️ ? 5 years, 7 months ago

For Class 11...it is NEW..which is to be followed.. For class 12..old or new..both are applicable.. depending upon..what you have studied in class 11..

Shubham Dhiman 5 years, 7 months ago

New
  • 1 answers

Vidushi Shukla 5 years, 7 months ago

char is a fundamental datatype. String can have any no. of characters while char means a single character. Also string uses double quotes and char uses single quotes.

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App