Wednesday, October 30, 2013

SE civil most likely questions

Similar question can be asked in prac. exam
CivilPEQ2013
Q.1. Create a visual basic project that will either convert U. S. dollars into a foreign currency or convert a foreign currency into U. S. dollars.
                        The foreign currencies and their U. S. dollar equivalents are:
                        1 U. S. dollar = 0.6 British pounds
                                                  1.4 canadian dollars
6.8 Frech francs
2.0 German marks
2000 Italian lira
100 Japanese yen
9.5 Mexican pesos
1.6 Swiss francs
            Your project should include two option buttons within a frame, to select either U. S. to foreign conversion or foreign to U. S. conversion. Use a text box to specify a given amount of money in the source currency, and another text box to display the equivalent amount of money in the target currency. Include an appropriate set of labels for each conversion type.[25]

Q.2. Execute the following SQL queries.[25]
Q-1> Find list of emp whose sal is greater then 2000 along with their job spec ?
Q-2> Give list of all emp along with their monthly and annual income ?
Q-3> List all empname who are ordered by the jobs within each job there should be Descending order by empno ?
Q-4> Retrieve details of emp whose sal is between 1000 and 2000 both inclusive?
Q-5> To find the average salary of all the employees.
Q-6> To find the average yearly compensation paid to sales men.
Q-7> List annual salary from all job consisting of more then one employee?
Q-8> List all dept with atleast one analyst?
Q-9> To find the minimum salary of managers in various depts. Having salary greater than 2500.
Q-10> To select all employees sorted dept wise in ascending order and within dept salary wise in descending order for dept no. 10 and 20.

Q.3. Write a Visual basic program to perform the following task.[25]
Reverse a string.
Determine whether the given string is palindrome or not.

Q.4. Create a table client master with the following fields client_no, name, address1, address2, city, state, pin_code, remarks, balance due and add the constraints?
• Create a primary key constraint on the column client_no.?
• create the following check constraints
Data values being inserted into the column client_no must start with ‘c’.
à
 Data values being inserted into the column name should be allowed in upper case only?
à
Q-2> Insert five rows in the table client master?
Q-3> Show all rows of client master?
Q-4> Add a new column in your table : AGE ?
Q-5> Update the table client master ?
Q-6> Delete a row from client master where age is greater then 60?
Q.7> Insert values in table supplymaster by using clientmaster.
Q-8> Drop table client master? [25]


Q.4. Write a Visual basic program to perform the following task.[25]
Find the power of a given number.
Determine that weather a given number is Armstrong.

Q.5. Find out whether given no is prime.
Display the table of a given number
Find out whether given no is prime.

Q.6. Execute the following SQL queries.[25]
Q-1> List all jobs which are common in dept 10 and 20 ?
Q-2> List all jobs which are present in dept 10 but not in dep 20?
Q-3> List all managers with their respective name manager and deptno ?
Q-4> Display list of emp whose job is analyst ?
Q-5> To list all the employees hired during the year 1982
Q-6> To get all employees from dept 10 and 20.
Q-7> To list all employees whose name begins with ‘J’.
Q-8> Retrieve all details of employees whose name is either smith, blake, allen, scott, clark and King ?

Q.7.
Q-1> To find out average maximum and minimum salary of departments where average salary is greater than 2000.
Q-2> To list the minimum salary to various categories of employees.
Q-3> To list employees working in dept no 10 or 20.
Q-4> To list employees hired after 01-jan-81 and working in dept no. 10
Q-5> To list all employees in the ascending order by name.
Q-6> To select all employees sorted dept wise in ascending order and within dept salary wise in descending order.
Q-7> To select all employees along with their annual salary sorted on the basis of annual salary.
Q-8> To find the minimum salary of managers in various depts.


Q.8. Execute the following SQL queries.[25]
Q-1> To list employees working in dept other than 10.
Q-2> To find the minimum salaries of various categories of employees in various depts.
Q-3> To find the minimum salaries of various categories of employees, department wise such that minimum salary is greater than 1500.
Q-4> To select the employees whose salary is greater than the salary of all employees working in dept no. 30
Q-5> To list all employees in the ascending order by name.
Q-6> To select all employees sorted dept wise in ascending order and within dept salary wise in descending order.
Q-7> To select all employees along with their annual salary sorted on the basis of annual salary.
Q-8> To find the minimum salary of managers in various depts.

Q.9.
Q-1> Write a query in sql to create a table employee and department.
Employee(empno,ename,deptno,job,hiredate)
Department(deptno,dname,loc)
Include the following constraints on column of emp table.
a) to make the empno as primary key of the table and
b) to ensure that the ename column does not contain NULL values and
c) the job column to have only UPPERCASE entries and
d) to put the current date as default date in hire date column in case data is not supplied for the column.
Include the following constraints on column of dept table.
a) to make deptno as primary key.
b) to ensure dname,loc coloumns does not contain NULL values
Also enforce REFERENTIAL INTEGRITY, declare deptno field of dept table as primary key and deptno field of emp table as foreign key.
Q-2> Modify the above table to add three more columns salary,mgr,comm to the emp table. add salary column with constraint greater than zero and modify the width of sal column.
Q-3> Insert few rows in dept table.
Insert following values in employee table.
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7369 SMITH CLERK 7902 17-DEC-80 800 20
7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30
7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30
7566 JONES MANAGER 839 02-APR-81 2975 20
7654 MARTIN SALESMAN 7698 28-SEP-81 1250 1400 30
Q-4> Edit the commission of JONES to 1000.
Q-5> Retrieve all rows of employee table.
Q-6> Delete row from employee table where deptno is 10.
Q-7> Delete all rows from employee table then Drop the emp table. [25]


Q-10>
Q-1> Display everyone in dept no 20 who is neither a clerk, salesman nor analyst ?
Q-2> Find the no of employees and job group by deptno?
Q-3> List all emp names and their salaries who are working in dept no 10 ?
Q-4> Give details of all dept and their no’s while changing the column name as department and department no ?
Q-5> To find the minimum salary paid to any employee
Q-6> To list the employee who heads the list alphabetically.
Q-7> List all emp name, dept names and location whose deptno is common in both dept table and emp table?
Q-8> List all jobs in dept 10 and 20 or in both?
Q-9> To select all employees along with their annual salary sorted on the basis of annual salary.
Q-10> To find the minimum salary of managers in various depts.


Q-11>


converts the above ER model into a table. Write down the SQL query to create the table insert at least 2 rows in each table?[25]

Q-12>

converts the above ER model into a table. Write down the SQL query to create the table insert at least 2 rows in each table?[25]
Q.13>


converts the above ER model into a table. Write down the SQL query to create the table?[25]
Q-14>



converts the above ER model into a table. Write down the SQL query to create the table insert at least 2 rows in each table?[25]

SE Civil Most Likely Questions DBIRS

Similar question can be asked in prac. exam
CivilPEQ2013
Q.1. Create a visual basic project that will either convert U. S. dollars into a foreign currency or convert a foreign currency into U. S. dollars.
                        The foreign currencies and their U. S. dollar equivalents are:
                        1 U. S. dollar = 0.6 British pounds
                                                  1.4 canadian dollars
6.8 Frech francs
2.0 German marks
2000 Italian lira
100 Japanese yen
9.5 Mexican pesos
1.6 Swiss francs
            Your project should include two option buttons within a frame, to select either U. S. to foreign conversion or foreign to U. S. conversion. Use a text box to specify a given amount of money in the source currency, and another text box to display the equivalent amount of money in the target currency. Include an appropriate set of labels for each conversion type.[25]

Q.2. Execute the following SQL queries.[25]
Q-1> Find list of emp whose sal is greater then 2000 along with their job spec ?
Q-2> Give list of all emp along with their monthly and annual income ?
Q-3> List all empname who are ordered by the jobs within each job there should be Descending order by empno ?
Q-4> Retrieve details of emp whose sal is between 1000 and 2000 both inclusive?
Q-5> To find the average salary of all the employees.
Q-6> To find the average yearly compensation paid to sales men.
Q-7> List annual salary from all job consisting of more then one employee?
Q-8> List all dept with atleast one analyst?
Q-9> To find the minimum salary of managers in various depts. Having salary greater than 2500.
Q-10> To select all employees sorted dept wise in ascending order and within dept salary wise in descending order for dept no. 10 and 20.

Q.3. Write a Visual basic program to perform the following task.[25]
Reverse a string.
Determine whether the given string is palindrome or not.

Q.4. Create a table client master with the following fields client_no, name, address1, address2, city, state, pin_code, remarks, balance due and add the constraints?
• Create a primary key constraint on the column client_no.?
• create the following check constraints
Data values being inserted into the column client_no must start with ‘c’.
à
 Data values being inserted into the column name should be allowed in upper case only?
à
Q-2> Insert five rows in the table client master?
Q-3> Show all rows of client master?
Q-4> Add a new column in your table : AGE ?
Q-5> Update the table client master ?
Q-6> Delete a row from client master where age is greater then 60?
Q.7> Insert values in table supplymaster by using clientmaster.
Q-8> Drop table client master? [25]


Q.4. Write a Visual basic program to perform the following task.[25]
Find the power of a given number.
Determine that weather a given number is Armstrong.

Q.5. Find out whether given no is prime.
Display the table of a given number
Find out whether given no is prime.

Q.6. Execute the following SQL queries.[25]
Q-1> List all jobs which are common in dept 10 and 20 ?
Q-2> List all jobs which are present in dept 10 but not in dep 20?
Q-3> List all managers with their respective name manager and deptno ?
Q-4> Display list of emp whose job is analyst ?
Q-5> To list all the employees hired during the year 1982
Q-6> To get all employees from dept 10 and 20.
Q-7> To list all employees whose name begins with ‘J’.
Q-8> Retrieve all details of employees whose name is either smith, blake, allen, scott, clark and King ?

Q.7.
Q-1> To find out average maximum and minimum salary of departments where average salary is greater than 2000.
Q-2> To list the minimum salary to various categories of employees.
Q-3> To list employees working in dept no 10 or 20.
Q-4> To list employees hired after 01-jan-81 and working in dept no. 10
Q-5> To list all employees in the ascending order by name.
Q-6> To select all employees sorted dept wise in ascending order and within dept salary wise in descending order.
Q-7> To select all employees along with their annual salary sorted on the basis of annual salary.
Q-8> To find the minimum salary of managers in various depts.


Q.8. Execute the following SQL queries.[25]
Q-1> To list employees working in dept other than 10.
Q-2> To find the minimum salaries of various categories of employees in various depts.
Q-3> To find the minimum salaries of various categories of employees, department wise such that minimum salary is greater than 1500.
Q-4> To select the employees whose salary is greater than the salary of all employees working in dept no. 30
Q-5> To list all employees in the ascending order by name.
Q-6> To select all employees sorted dept wise in ascending order and within dept salary wise in descending order.
Q-7> To select all employees along with their annual salary sorted on the basis of annual salary.
Q-8> To find the minimum salary of managers in various depts.

Q.9.
Q-1> Write a query in sql to create a table employee and department.
Employee(empno,ename,deptno,job,hiredate)
Department(deptno,dname,loc)
Include the following constraints on column of emp table.
a) to make the empno as primary key of the table and
b) to ensure that the ename column does not contain NULL values and
c) the job column to have only UPPERCASE entries and
d) to put the current date as default date in hire date column in case data is not supplied for the column.
Include the following constraints on column of dept table.
a) to make deptno as primary key.
b) to ensure dname,loc coloumns does not contain NULL values
Also enforce REFERENTIAL INTEGRITY, declare deptno field of dept table as primary key and deptno field of emp table as foreign key.
Q-2> Modify the above table to add three more columns salary,mgr,comm to the emp table. add salary column with constraint greater than zero and modify the width of sal column.
Q-3> Insert few rows in dept table.
Insert following values in employee table.
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7369 SMITH CLERK 7902 17-DEC-80 800 20
7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30
7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30
7566 JONES MANAGER 839 02-APR-81 2975 20
7654 MARTIN SALESMAN 7698 28-SEP-81 1250 1400 30
Q-4> Edit the commission of JONES to 1000.
Q-5> Retrieve all rows of employee table.
Q-6> Delete row from employee table where deptno is 10.
Q-7> Delete all rows from employee table then Drop the emp table. [25]


Q-10>
Q-1> Display everyone in dept no 20 who is neither a clerk, salesman nor analyst ?
Q-2> Find the no of employees and job group by deptno?
Q-3> List all emp names and their salaries who are working in dept no 10 ?
Q-4> Give details of all dept and their no’s while changing the column name as department and department no ?
Q-5> To find the minimum salary paid to any employee
Q-6> To list the employee who heads the list alphabetically.
Q-7> List all emp name, dept names and location whose deptno is common in both dept table and emp table?
Q-8> List all jobs in dept 10 and 20 or in both?
Q-9> To select all employees along with their annual salary sorted on the basis of annual salary.
Q-10> To find the minimum salary of managers in various depts.


Q-11>


converts the above ER model into a table. Write down the SQL query to create the table insert at least 2 rows in each table?[25]

Q-12>

converts the above ER model into a table. Write down the SQL query to create the table insert at least 2 rows in each table?[25]
Q.13>


converts the above ER model into a table. Write down the SQL query to create the table?[25]
Q-14>



converts the above ER model into a table. Write down the SQL query to create the table insert at least 2 rows in each table?[25]


Friday, October 25, 2013

Most Likely Questions

Similar Questions are Expected in Practical Exams.

MECHPEQ2013

Q.1. Design an ER schema for Student Mark sheet problem converts the entire ER model into a table. Write down the SQL query to create the table insert at least 2 rows in each table?
Marks Division: ER Model- 20M            Table-conversion-10M            Create table-10M   Insert into-10M       Total: 50M

Q.2. Design an ER schema for Engineering admission Software converts the entire ER model into a table. Write down the SQL query to create the table insert at least 2 rows in each table?
Marks Division: ER Model- 20M            Table-conversion-10M            Create table-10M   Insert into-10M       Total: 50M


Q.3. Design an ER schema for salary sheet preparation and Income Tax calculation converts the entire ER model into a table. Write down the SQL query to create the table insert at least 2 rows in each table?
Marks Division: ER Model- 20M            Table-conversion-10M            Create table-10M   Insert into-10M       Total: 50M



Q.4. Design an ER schema for Library software converts the entire ER model into a table. Write down the SQL query to create the table insert at least 2 rows in each table?
Marks Division: ER Model- 20M            Table-conversion-10M            Create table-10M   Insert into-10M       Total: 50M


Q.5. Design an ER schema for any Mechanical Engineering Application involving Database  converts the entire ER model into a table. Write down the SQL query to create the table insert at least 2 rows in each table?
Marks Division: ER Model- 20M            Table-conversion-10M            Create table-10M   Insert into-10M       Total: 50M

Q.6. Design an ER schema for Banking System involving Database  converts the entire ER model into a table. Write down the SQL query to create the table insert at least 2 rows in each table?
Marks Division: ER Model- 20M            Table-conversion-10M            Create table-10M   Insert into-10M       Total: 50M

Q.7. [A] Create a visual basic project that will either convert U. S. dollars into a foreign currency or convert a foreign currency into U. S. dollars.
                        The foreign currencies and their U. S. dollar equivalents are:
                        1 U. S. dollar = 0.6 British pounds
                                                  1.4 canadian dollars
6.8 Frech francs
2.0 German marks
2000 Italian lira
100 Japanese yen
9.5 Mexican pesos
1.6 Swiss francs
            Your project should include two option buttons within a frame, to select either U. S. to foreign conversion or foreign to U. S. conversion. Nine additional option buttons should be placed within another frame to select the particular foreign currency. Use a text box to specify a given amount of money in the source currency, and another text box to display the equivalent amount of money in the target currency. Include an appropriate set of labels for each conversion type.[25]
[B] Execute the following SQL queries.[25]
Q-1> Find list of emp whose sal is greater then 2000 along with their job spec ?
Q-2> Give list of all emp along with their monthly and annual income ?
Q-3> List all empname who are ordered by the jobs within each job there should be Descending order by empno ?
Q-4> Retrieve details of emp whose sal is between 1000 and 2000 both inclusive?
Q-5> To find the average salary of all the employees.
Q-6> To find the average yearly compensation paid to sales men.
Q-7> List annual salary from all job consisting of more then one employee?
Q-8> List all dept with atleast one analyst?
Q-9> To find the minimum salary of managers in various depts. Having salary greater than 2500.
Q-10> To select all employees sorted dept wise in ascending order and within dept salary wise in descending order for dept no. 10 and 20.

Q.8.  [A] Write a Visual basic program to perform the following task.[25]
Reverse a string.
Determine whether the given string is palindrome or not.
Find out whether given no is prime.
[B]Create a table client master with the following fields client_no, name, address1, address2, city, state, pin_code, remarks, balance due and add the constraints?
• Create a primary key constraint on the column client_no.?
• create the following check constraints
Data values being inserted into the column client_no must start with ‘c’.
à
 Data values being inserted into the column name should be allowed in upper case only?
à
Q-2> Insert five rows in the table client master?
Q-3> Show all rows of client master?
Q-4> Add a new column in your table : AGE ?
Q-5> Update the table client master ?
Q-6> Delete a row from client master where age is greater then 60?
Q.7> Create table supplymaster (supplierno,suplliername,address1,address2,city,state,
pincode,remarks,baldue) by using clientmaster.
Q.8> Insert values in table supplymaster by using clientmaster.
Q-9> Drop table client master? [25]


Q.9. [A]Write a Visual basic program to perform the following task.[25]
Find the power of a given number.
Determine that weather a given number is Armstrong.
Display the table of a given number
[B] Execute the following SQL queries.[25]
Q-1> List all jobs which are common in dept 10 and 20 ?
Q-2> List all jobs which are present in dept 10 but not in dep 20?
Q-3> List all managers with their respective name manager and deptno ?
Q-4> Display list of emp whose job is analyst ?
Q-5> To list all the employees hired during the year 1982
Q-6> To get all employees from dept 10 and 20.
Q-7> To list all employees whose name begins with ‘J’.
Q-8> Retrieve all details of employees whose name is either smith, blake, allen, scott, clark and King ?

Q.10. [A] Create the following table in SQL.
Customer( cid,cname,street,city)
Acc(accno,Branchname,Bal)
Create the Visual Basic Project to connect to the database using ADODC control. Perform the following task
1.     Create a form to ADD new customer, Modify the Existing Customer, Delete Existing Customer.
2.     Create a form to ADD new Account, Modify the Existing Account, Account Existing Customer.
3.     Create a form to search the Customer along with their Balance. [25]
[B] Execute the following SQL queries.[25]
Q-3> To select all the employees who do the same job as that of Scott.
Q-4> To see all details of depts. Who have employees working in it.
Q-5> To find out average maximum and minimum salary of departments where average salary is greater than 2000.
Q-6> To list the minimum salary to various categories of employees.
Q-7> To list employees working in dept no 10 or 20.
Q-8> To list employees hired after 01-jan-81 and working in dept no. 10

Q.11. [A] Create the following table in SQL. Where cid in Acc table is foreign key.
Customer( cid,cname,street,city)
Acc(accno,cid, Branchname,Bal)
Create the Visual Basic Project to connect to the database using ADODC control. Perform the following task
1.     Create a form to ADD new customer, Modify the Existing Customer, Delete Existing Customer.
2.     Create a form to ADD new Account, Modify the Existing Account, Account Existing Customer.
3.     Create a form to search the Customer along with their Balance..[25]

[B] Execute the following SQL queries.[25]
Q-1> To list employees working in dept other than 10.
Q-2> To find the minimum salaries of various categories of employees in various depts.
Q-3> To find the minimum salaries of various categories of employees, department wise such that minimum salary is greater than 1500.
Q-4> To select the employees whose salary is greater than the salary of all employees working in dept no. 30
Q-5> To list all employees in the ascending order by name.
Q-6> To select all employees sorted dept wise in ascending order and within dept salary wise in descending order.
Q-7> To select all employees along with their annual salary sorted on the basis of annual salary.
Q-8> To find the minimum salary of managers in various depts.

Q.12.
[A] Q-1> Write a query in sql to create a table employee and department.
Employee(empno,ename,deptno,job,hiredate)
Department(deptno,dname,loc)
Include the following constraints on column of emp table.
a) to make the empno as primary key of the table and
b) to ensure that the ename column does not contain NULL values and
c) the job column to have only UPPERCASE entries and
d) to put the current date as default date in hire date column in case data is not supplied for the column.
Include the following constraints on column of dept table.
a) to make deptno as primary key.
b) to ensure dname,loc coloumns does not contain NULL values
Also enforce REFERENTIAL INTEGRITY, declare deptno field of dept table as primary key and deptno field of emp table as foreign key. [25]
[B]Q-2> Modify the above table to add three more columns salary,mgr,comm to the emp table. add salary column with constraint greater than zero and modify the width of sal column.
Q-3> Insert few rows in dept table.
Insert following values in employee table.
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7369 SMITH CLERK 7902 17-DEC-80 800 20
7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30
7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30
7566 JONES MANAGER 839 02-APR-81 2975 20
7654 MARTIN SALESMAN 7698 28-SEP-81 1250 1400 30
Q-4> Edit the commission of JONES to 1000.
Q-5> Retrieve all rows of employee table.
Q-6> Delete row from employee table where deptno is 10.
 
Q-7> Delete all rows from employee table then Drop the emp table. [25]


Q-13>
[A] Create the following table in SQL. Where cid in Acc table is foreign key.
Acc(accno,Cname, Branchname,Bal)
Create the Visual Basic Project to connect to the database using ADODC control. Perform the following task
1.     Withdraw an amount from an account.
2.     To deposit an amount to an account.
3.     To transfer an amount from one account to another.
4.     To Display Balance of an account. [25]
[B] Execute the following SQL queries.[25]
Q-1> Display everyone in dept no 20 who is neither a clerk, salesman nor analyst ?
Q-2> Find the no of employees and job group by deptno?
Q-3> List all emp names and their salaries who are working in dept no 10 ?
Q-4> Give details of all dept and their no’s while changing the column name as department and department no ?
Q-5> To find the minimum salary paid to any employee
Q-6> To list the employee who heads the list alphabetically.
Q-7> List all emp name, dept names and location whose deptno is common in both dept table and emp table?
Q-8> List all jobs in dept 10 and 20 or in both?
Q-9> To select all employees along with their annual salary sorted on the basis of annual salary.
Q-10> To find the minimum salary of managers in various depts.




Lecture PPTs of MIS , Module 4 to Module 6

 Module 4 Social Computing (SC): Web 3.0 , SC in business-shopping, Marketing, Operational and Analytic CRM, E-business and E-commerce B2B B...