No products in the cart.

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

Ask Question
  • 2 answers

Badboy Gaming 3 years, 5 months ago

Ye hi pdna hai

U Dilip Sagar 3 years, 5 months ago

Python
  • 1 answers

Muddabbir Hussain 3 years, 5 months ago

It is a symbol used to replace or represent one or more characters. Eg. cgs* -- it returns all the values starts from cgs.
  • 3 answers

U Dilip Sagar 3 years, 5 months ago

No

Student Of The Year 3 years, 5 months ago

Sallybus of c++

Student Of The Year 3 years, 5 months ago

Download from CBSE website
  • 1 answers

Sia ? 3 years ago

Star topology is a topology in which all devices are connected to a central hub. Bus topology is a topology where each device is connected to a single cable which is known as the backbone. 2. In star topology if central hub fails then whole network fails.
  • 2 answers

Milind Pandey 3 years, 5 months ago

or visite:: https://codelikeaqua.blogspot.com/2021/01/list-problem.html

Milind Pandey 3 years, 5 months ago

list_=[1,2,3,5] a=int(input("Enter how many entry you want in a list")) for i in range(a): b=int(input("Enter the element")) list_.append(b) print(list_) print("minimum number in the list = ",min(list_)) print("maximum number in the list = ",max(list_))
  • 1 answers

Pooja Verma 3 years, 5 months ago

Cybercrime is the crime which is done through the help of technologies such as they get personal information from persons using some greedy traps and use it to do roberry
  • 1 answers

Vishwambhar Singh 3 years, 5 months ago

Aditya shirvastav gaandu hai
  • 1 answers

Sia ? 3 years ago

https://mycbseguide.com/dashboard/content/19827

  • 1 answers

Kamna Rana 3 years, 5 months ago

Primary key- a set of one or more attributes that can uniquely identify tuples within table or which have uniques values. Secondary key- a coulmn which can be a primary key.
  • 4 answers

Ripan Kumar 3 years, 5 months ago

Python

Badboy Gaming 3 years, 5 months ago

Help

Badboy Gaming 3 years, 6 months ago

Sir batyae kyaa pdna hai muje drr hai mere pass computer science old hai paper me to kyaa phyton and c++me option aye ga and cs old ka slybuss meko send kr dijiye

Deepak Negi 3 years, 6 months ago

Haa bete
  • 2 answers

Student Of The Year 3 years, 6 months ago

True Trye, False True, False, Not True, True True, True, OR True True, False True, False,True True,False,True,OR True, True True,True ,And True. :Answer

Student Of The Year 3 years, 6 months ago

True
  • 1 answers

Yogita Ingle 3 years, 6 months ago

A namespace is a way of grouping identifiers so that they don’t clash. Using a class implies that you can create an instance of that class, not true with namespaces.

A namespace cannot be created as an object; think of it more as a naming convention. It is used as additional information to differentiate similar functions, classes, variables etc. with the same name available in different libraries.

  • 1 answers

Student Of The Year 3 years, 6 months ago

Where are the options
  • 2 answers

Milind Pandey 3 years, 6 months ago

import random WORDS=("Python","cobol","C++","visual studio","MySql","Fortran") a=1 while a==1: a=random.choices(WORDS) print(a) a=int(input("if you want to play again then press 1 or press any number::"))

Harsh Mishra 3 years, 6 months ago

Sorry, yaar par apne ko nahi lagta kee yahaan ke teachers se Computer Science ata hai... Cause they're good at copying things not in understanding them & CS requires theoretical as well as practical work, so ask from someone who knows about it.. :D
  • 1 answers

Sia ? 3 years, 2 months ago

FOXO transcription factors are at the interface of crucial cellular processes, orchestrating programs of gene expression that regulate apoptosis, cell-cycle progression, and oxidative- stress resistance.
  • 2 answers

Sakshi Yadav 3 years, 6 months ago

Then why this subject is added here when I can't get my answers....

Harsh Mishra 3 years, 6 months ago

No answer could be given here to the CS students. Search about your Query somewhere else...
  • 1 answers

Diksha Singh 3 years, 6 months ago

Where is the query dear
  • 2 answers

Mayank Raj 1 year, 4 months ago

madher India mc

Gaurav Seth 3 years, 6 months ago

 Consider the following table named “GARMENT”. Write command of SQL for (i) to (iv) and output for (v) to (vii).

Table: GARMENT

GCODE

GNAME

SIZE

COLOUR

PRICE

111
112
113
114
115
116

T-shirt
Jeans
Skirt
Ladies Jacket
Trousers
Ladies top

XL
L
M
XL
L
L

Red
Blue
Black
Blue
Brown
Pink

1400.00
1600.00
1100.00
4000.00
1500.00
1200.00

(i)  To display names of those garments that are available in ‘XL’ size. (1)

(ii) To display codes and names of those garments that have their names starting with ’Ladies’. (1)

(iii) To display garment names, codes and prices of those garments that have price in the range 1000.00 to 1500.00 (both 1000.00 and 1500.00 included). (1)
(iv) To change the color of garments with code as 116 to “Orange”. (1)

(v) SELECT COUNT (DISTINCT (SIZE)) FROM GARMENT; (1)

(vi) SELECT AVG (PRICE) FROM GARMENT; (1)

(vii) SELECT NAME FROM GARMENT (1)
(c) What is the degree and cardinally of ‘Garment’ table? (1)
6. (a) Write MySql command to create the table DEPARTMENT with given constraints (2)
TABLE: DEPARTMENT

COLUM_NAME DATATYPE(SIZE) CONSTRAINT
Department ID
DepName
Manager ID
Location
Int(4)
varchar(50)
char (40)
varchar (30)
Primary Key
Not Null

(b) In a Database, there are two tables given below:

Table: EMPLOYEE

EMPLOYEEID NAME SALES OBID
E1 SAMIT SINHA 1100000 102
E2        IJAY SINGH TOMAR 1300000 101
E3 JAY RAJPAL 1400000 103
E4 OHIT RAMNANI 1250000 102
E5 SHAILJA SINGH 1450000            103

Table: JOB

JOBID JOB TITLE SALARY
101
102
103
104
105
106
President
Vice President
Administration Assistant
Accounting Manager
Accountant
Sales Manager
200000
125000
80000
70000
65000
80000
  • 1 answers

Gaurav Seth 3 years, 6 months ago

C program to find roots of a quadratic equation: Coefficients are assumed to be integers, but roots may or may not be real.

For a quadratic equation ax2+ bx + c = 0 (a≠0), discriminant (b2-4ac) decides the nature of roots. If it's less than zero, the roots are imaginary, or if it's greater than zero, roots are real. If it's zero, the roots are equal.

For a quadratic equation sum of its roots = -b/a and product of its roots = c/a. Let's write the program now.

 

 

Roots of a Quadratic equation in C

#include <stdio.h>
#include <math.h>

 

int main()
{
  int a, b, c, d;
  double root1, root2;

  printf("Enter a, b and c where a*x*x + b*x + c = 0\n");
  scanf("%d%d%d", &a, &b, &c);

  d = b*b - 4*a*c;

  if (d < 0) { // complex roots, i is for iota (√-1, square root of -1)
    printf("First root = %.2lf + i%.2lf\n", -b/(double)(2*a), sqrt(-d)/(2*a));
    printf("Second root = %.2lf - i%.2lf\n", -b/(double)(2*a), sqrt(-d)/(2*a));
  }
  else { // real roots
    root1 = (-b + sqrt(d))/(2*a);
    root2 = (-b - sqrt(d))/(2*a);

    printf("First root = %.2lf\n", root1);
    printf("Second root = %.2lf\n", root2);
  }

  return 0;
}

Output of program: 

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