Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Questions by spriti1991
0
votes
1
answer
1
Data model
In a database , the specification of data where individual data item of same type can have different sets of attribute a) True b) false
In a database , the specification of data where individual data item of same type can have different sets of attribute a) True b) false
381
views
asked
Jun 3, 2015
Databases
databases
+
–
0
votes
2
answers
2
Pointers
Now I suppose if i have a statement like *P++ then it is broken down as first (P++) and then *p (because both are unary operator and associtivity is right to left ) and if we have statement like a=*p++ then it is broken down into a=*p and then p is incremented !! Am i right ?
Now I suppose if i have a statement like *P++ then it is broken down as first (P++) and then *p (because both are unary operator and associtivity is right to left ) and ...
669
views
asked
Jun 1, 2015
Programming in C
pointers
programming-in-c
+
–
0
votes
3
answers
3
Asymptotic Notation
Describe a Θ(nlgn)-time algorithm that, given a set S of n integers and another integer x, determines whether or not there exists two elements of S whose sum is exactly x.
Describe a Θ(nlgn)-time algorithm that, given a set S of n integers and another integer x, determines whether or not there exists two elements of S whose sum is exactly ...
2.2k
views
asked
May 27, 2015
Algorithms
asymptotic-notation
algorithms
+
–
0
votes
1
answer
4
DATA STRUCTURES
Suppose we are comparing implementations of insetion sort and merge sort on the same machine. For inputs of size n, insertion sort runs in 8n^2 steps, while merge sort runs in 64nlgn steps. For which values of n does insertion sort beat merge sort?
Suppose we are comparing implementations of insetion sort and merge sort on the same machine. For inputs of size n, insertion sort runs in 8n^2 steps, while merge sort ru...
855
views
asked
May 20, 2015
Algorithms
algorithms
sorting
merge-sort
+
–
3
votes
2
answers
5
SQL
Consider the Following Collection of relational schema Professor( profname , deptname) Department (deptname, building) Committee(commname, Profname) Which of following query finds all the professors who have not offices in any of those buildings that professor Piper has offices in ... d1, professor p1 Where P1.Profname=’Piper’ and p1.deptname=D1.deptname ) D) None of these
Consider the Following Collection of relational schemaProfessor( profname , deptname)Department (deptname, building)Committee(commname, Profname)Which of following query ...
1.1k
views
asked
May 19, 2015
Databases
sql
+
–
0
votes
1
answer
6
SQL
Consider the following Realtion Borrower(borrower no , name , age) Loan (copy no , borrower no , due date ) Retrieve the borrower name and number of books currently on loan for each of the borrower 1) Select borrower.name, count (*) from loan where loan.borrower ... .name, count (*) from loan, borrowe where loan.borrower name= borrower.borrower name group by loan .borrower.no 4) None of these
Consider the following RealtionBorrower(borrower no , name , age)Loan (copy no , borrower no , due date )Retrieve the borrower name and number of books currently on loan ...
472
views
asked
May 19, 2015
Databases
sql
+
–
1
votes
1
answer
7
SQL query
Consider the relation Emp (SS#, name , age , salary, dno ) Dept(dno, dname, floor , mgrSS#) Retrieve the social security number of those employees who work in both the show and toy department A) Select distinct e.SS# from Emp e , Dept d where e.dno = d.dno and dname= ... .SS# from emp e , dept d where e.dno= d.dno and d.dname='toy' and d.dname='shoe' c) Both a and b
Consider the relation Emp (SS#, name , age , salary, dno )Dept(dno, dname, floor , mgrSS#)Retrieve the social security number of those employees who work in both the show...
1.1k
views
asked
May 19, 2015
Databases
sql
+
–
1
votes
1
answer
8
SQl query
Consider the relation Customers (custid, name , address , city , state , introducer) List all the customers who have introduced at least one other customer 1) Select distinct e.name from Customer e, Customer F where f.introducer =e.ename 2) Select distinct e.name from Customer e, Customer F where f.introducer <>e.name
Consider the relation Customers (custid, name , address , city , state , introducer)List all the customers who have introduced at least one other customer1) Select distin...
959
views
asked
May 19, 2015
Databases
sql
+
–
11
votes
3
answers
9
Conflict Equivalent
Consider the following ordering S of transaction T1:R(X),W(Y), T2:R(X),W(Y);T3:R(X),W(Y). how many schedules if any are conflict equivalent to S? 1) 3 2) 5 c) 15 d) 30
Consider the following ordering S of transaction T1:R(X),W(Y), T2:R(X),W(Y);T3:R(X),W(Y). how many schedules if any are conflict equivalent to S?1) 32) 5c) 15d) 30
4.1k
views
asked
May 6, 2015
Databases
databases
+
–
1
votes
2
answers
10
Concurrency Problems
T1 T2 R(A) R(A) R(B) R(B) W(A) COMMIT R(A) W(A) COMMIT in the above problem identify the concurrency in the following Schedule involving 2 Transaction T1 AND T2 (r: read and w : write ) a) Dirty Read problem b) Unrepeatable Read problem c) Lost update Problem d) Both a and b
T1T2R(A) R(A) R(B) R(B) W(A) COMMIT R(A) W(A) COMMIT in the above problem identify the concurrency in the following Schedule involving 2 Transaction T1 AND T2 (r: r...
1.0k
views
asked
May 6, 2015
Databases
concurrency
+
–
0
votes
2
answers
11
ACID PROPERTIES
ATOMICITY IS MANAGED BY a) Programmer b) Recovery Management Component c) Concurrency Control Component d) None of it
ATOMICITY IS MANAGED BY a) Programmerb) Recovery Management Component c) Concurrency Control Componentd) None of it
4.0k
views
asked
May 6, 2015
Databases
databases
+
–
0
votes
1
answer
12
Combinational Circuits
427
views
asked
May 4, 2015
0
votes
2
answers
13
Decoder
Which of following statement is true ? S1. Any boolean function can be realized using decoder s2. One multiplexer can realize 1 function at a time a) S1 is true b) S2 is true 3) Both are true d) none of them
Which of following statement is true ?S1. Any boolean function can be realized using decoders2. One multiplexer can realize 1 function at a timea) S1 is trueb) S2 is true...
1.7k
views
asked
May 4, 2015
0
votes
2
answers
14
Combinational Circuits
A combinational circuit is to be designed to implement a boolean Function with 3 Boolean Variables which gives output 1 if all the inputs have same value, otherwise give 0 . If only basic gate (AND,OR,NOT) are available and if complimented variable is not available , then determine the minimum no of gates to design the circuit ? 1) 3 2) 4 3) 5 4) 6
A combinational circuit is to be designed to implement a boolean Function with 3 Boolean Variables which gives output 1 if all the inputs have same value, otherwise give ...
2.0k
views
asked
May 4, 2015
0
votes
2
answers
15
Combinational Circuits
A combinational circuit is to be designed to implement a boolean Function with 3 Boolean Variables which gives output 1 if all the inputs have same value, otherwise give 0 . If only basic gate (AND,OR,NOT) are available and if complimneted variable is not available , then determine the minimum no of gates to design the circuit ? 1) 3 2) 4 3) 5 4) 6
A combinational circuit is to be designed to implement a boolean Function with 3 Boolean Variables which gives output 1 if all the inputs have same value, otherwise give ...
1.0k
views
asked
May 4, 2015
0
votes
1
answer
16
BCD Adder
A decimal parallel adder that add n decimal digits needs how many BCD adder stages 1. n 2. 2n 3. 1 4 n^2
A decimal parallel adder that add n decimal digits needs how many BCD adder stages1. n 2. 2n3. 14 n^2
1.8k
views
asked
May 4, 2015
0
votes
1
answer
17
Three state Buffer
I am just reading that Microperations from Morris mano They have explained the concept of 3 state gate which can be used as a multiplexer which have output 1, 0 and high Impedance. what is used of it (I am not getting )
I am just reading that Microperations from Morris mano They have explained the concept of 3 state gate which can be used as a multiplexer which have output 1, 0 and high ...
811
views
asked
Apr 19, 2015
CO and Architecture
digital-logic
+
–
2
votes
1
answer
18
normalization
Can you explain me this : A table is in second normal form if every attribute is determined by every candidate key , but is not determined by any pure subset of Candidate key ? True or false
Can you explain me this :A table is in second normal form if every attribute is determined by every candidate key , but is not determined by any pure subset of Candidate ...
1.2k
views
asked
Apr 18, 2015
Databases
database-normalization
+
–
6
votes
1
answer
19
normalization
Let R(ABCDE) be a relational schema and F ={AB->CD, ABC->E,C->E} BE A SET OF FUNCTIONAL dependencies. WHAT IS highest normal of R ? 1NF 2NF 3NF BCNF
Let R(ABCDE) be a relational schema and F ={AB->CD, ABC->E,C->E} BE A SET OF FUNCTIONAL dependencies. WHAT IS highest normal of R ?1NF 2NF3NFBCNF
3.2k
views
asked
Apr 18, 2015
Databases
database-normalization
+
–
6
votes
4
answers
20
normalization
Consider the relation R(ABCD) with FD's set F={ AB->CD,C->.A,D->B} which of the following is false ? 1.C->A is a partial Dependency 2.C->A is a transitive Dependency 3.D->B IS A Partial dependency 4. All of these
Consider the relation R(ABCD) with FD's set F={ AB->CD,C->.A,D->B}which of the following is false ?1.C->A is a partial Dependency2.C->A is a transitive Dependency3.D->B I...
4.0k
views
asked
Apr 18, 2015
Databases
database-normalization
+
–
Page:
1
2
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register