• Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • English APP
  • login
  • Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • Walkins
    • Corporate Job Exam
    • Government Job Exam
    • Entrance Exam
  • Training
    • Internship
  • Placement Questions
  • /
  • Gate
  • /
  • Programming
  • /
  • Database

Gate Programming - Database Sample Question with Solutions

Gate Select Another Category Database Select Another Topic

Exam

  • ACIO 119
  • AIEEE 334
  • AMCAT 2636
  • Assessment 108
  • Bank 22
  • CAT 988
  • CMAT 82
  • Cocubes 39
  • Elitmus 2952
  • Exam 39
  • Gate 846
  • GMAT 107
  • Gmate 29
  • GRE 469
  • IIT-JEE 471
  • ITC 28
  • Maths Olympiad 205
  • MBA 3481
  • MCA 32
  • Other 159
  • Others 25
  • R-SAT 111
  • Self 68

Gate Question Topics

    Category (172)

    General Ability (20)

  • General Knowledge (5)
  • HR Interview (166)

  • Interview (7)
  • Logical Reasoning (36)

  • Blood Relations (8)
  • Coding Decoding (8)
  • Cryptography (3)
  • Decision Making and Problem Solving (1)
  • Direction Sense (1)
  • General Mental Ability (2)
  • Letter Arrangement (1)
  • Mathematical Reasoning (3)
  • Number Series (3)
  • Numerical Ability (131)

  • Age Problem (2)
  • Algebra (9)
  • Alligation or Mixture (1)
  • Area and Volume (3)
  • Averages (5)
  • Co-ordinate geometry (1)
  • Complex Numbers (1)
  • Data Interpretation (2)
  • Geometry (1)
  • Number System (9)
  • Percentage (5)
  • Permutation and Combination (6)
  • Probability (10)
  • Profit and Loss (4)
  • Quadratic Equations (1)
  • Ratio and Proportion (2)
  • Sequence and Series (4)
  • Simple & Compound Interest (1)
  • Time and Work (15)
  • Time Distance and Speed (5)
  • Trigonometry (2)
  • Programming (13)

  • Arrays (1)
  • Database (3)
  • Technical (1)
  • Verbal Ability (13)

  • Antonyms (1)
  • Miscellaneous (2)
  • Sentence Completion (1)
  • Spotting Errors (4)
  • Synonyms (2)
Keep an EYE (0)
Solved Question (0) UnSolved Question (3)
Pages: 11
Advertisements

(#M40037610) GATE QUESTION Keep an EYE Keep an eye puzzle Keep an eye puzzle

Consider the following C function:
int f(int n)
{
static int are = 0;
If (n < = 0) return 1;
If (n > 3)
{ r = n;
return f (n – 2) + 2;
}
return f(n – 1) + r;
}
What is the value of f(5)?

Asked In Gate Hardip Bhalani (11 years ago)
Unsolved Read Solution (4)
Is this Puzzle helpful?   (3)   (1) Submit Your Solution Database

(#M40029646) GATE QUESTION GATE-CS Keep an EYE Keep an eye puzzle Keep an eye puzzle

Which of the following statements are TRUE about an SQL query?
P : An SQL query can contain a HAVING clause even if it does not have a GROUP BY clause
Q : An SQL query can contain a HAVING clause only if it has a GROUP BY clause
R : All attributes used in the GROUP BY clause must appear in the SELECT clause
S : Not all attributes used in the GROUP BY clause need to appear in the SELECT clause

option
(A) P and R
(B) P and S
(C) Q and R
(D) Q and S

Asked In Gate Rats (12 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (7)   (4) Submit Your Solution Database
Advertisements

(#M40009840) GATE QUESTION Keep an EYE Keep an eye puzzle Keep an eye puzzle

Given digits 2,2,3,3,4,4,4,4 how many distinct 4 digit numbers greater than 3000 can be formed?

Asked In Gate Devendra Marghade (13 years ago)
Unsolved Read Solution (6)
Is this Puzzle helpful?   (44)   (13) Submit Your Solution Database
Keep an EYE (0)
Solved Question (0) UnSolved Question (3)
Pages: 11
  • Login
  • Register

Resend

Sponsored Links

Advertisements

Challenger of the Day

no image
Dimple
India
Punjab
Time: 00:01:33
Points
19

Maths Quotes

The wonder is not that mathematics describes the world so well but that it describes it at all.

Unknown

Thought Science we developed, but Mathematics is the mother of all Sciences

Lukman Hussaini Tambuwal

Placed User Comments

M4Math helped me a lot.

Vipul Chavan 5 years ago

Thanks m4 maths for helping to get placed in several companies.
I must recommend this website for placement preparations.

yash mittal 5 years ago

Now enjoy Offline Access of latest Question.

Get M4maths app to avail expert's solution and latest selected questions.

Download m4maths app now

  • 2533K+Registerd user
  • 1774K+Engineers
  • 759K+MBA Asprirant
  • 3K+Enginnering College
  • 250+Company Exam
  • 150K+Interview Questions
  • Site Links
  • Home
  • Result
  • Today's Puzzle
  • Discussion Board
  • Maths Tricks
  • Advertise with us
  • Contact Us
  • Useful Info
  • Maths Quotes
  • Previous Puzzles
  • Prize
  • Privacy Policy
  • Disclaimer and Copyright
  • Terms and Conditions
  • Sitemap
  • Placement papers
  • TCS Placement Paper
  • HCL Placement Paper
  • INFOSYS Placement Paper
  • IBM Placement Paper
  • SYNTEL Placement Paper
  • TECHNICAL Interview
  • HR Interview
All rights are reserved to @m4maths.com