SQL Practice paper-4


Use tables given below for answering the questions


Tables

AUTHORS
Column Name
Data type, Width
Comments
Au_Id
Char(4) 
Primary Key
Au_name
Varchar2  (40)
Not Null
Phone
Char  (12) 

Street
Varchar2  (40) 

City
Varchar2  (20)

State
Varchar2  (20)

PUBLISHERS
Column Name
Data type, Width
Comments
Pub_Id
Char (4)
Primary Key
Pub_name
Varchar2 (20)
Not Null
Street
Varchar2 (20)

City
Varchar2 (20)

State
Varchar2 (20)

TITLES1
Column Name
Data type, Width
Comments
Title_Id
Char (4)
Primary Key
Title_name
Varchar2 (30)
Not Null
Type
Char(12)
Not Null
Pub_Id
Char (4)
Foreign key to Publisher
Price
Number (7,2)

YTD_Sales
Number (8)
Year-to-Date Sales
PubDate
Date
Not Null
TITLE_AUTHOR
Column Name
Data type, Width
Comments
Au_Id
Char (4)
Foreign key to Authors
Title_Id
Char (4)
Foreign key to Titles
Au_Ord
Number (1)




** Au_Id and Title_Id is a composite key

Q1. Display the total no. of titles of the title type ‘technical’

Q2. Display the Au_id, Au_name, title_id, title_name, and price of all
       Authors where year of publishing of a title is greater than 2003

Q3. Display the authors who have written more than 3 titles

Q4.  Display the names of top 3 publishers. The top publishers are the one who has published maximum number of books.

Connect Backtrack 4 to Internet (when bt4 is booted via VMWare)

Here you are provided the way to connect your Backtrack 4 OS to the internet by using Dynamic Host Configuration Protocol client:

To connect your Virtual machine with BT4 to the Internet use the following commands

B.A.R.C. interview questions - CSE- 2009

Hello Everyone,

I was interviewed in BARC in 2009. In interview panel, there were 7 interviewers including one head of panel. My interview was approx. 2 hours long.

Question-1: Which are your Five favorite subjects? (They used to start interview from these 5 subjects only, but its not mandatory).

Question-2: What is Dictionary Attack, Brute Force attack in hacking?

Question-3: What is DOS attack?

Question-4: What is IP-Spoofing?

Question-5: What is E-Mail Forging?

Question 6: What is MAC-Address?

Question-7: What is interface in OOP?

Question-8: Why do we require interface?

Question-9: What is difference between interface and abstract class?

[Then they gave me a question paper which was having 10 multiple choice core java based questions (I answered 8 questions correctly.)]