Friday 11 August 2017
Vowel Count Switch statement
Q : using a switch statement, write a function to count the number of vowels and number of blanks
Prime number in given range
Q : Write a program to display all the prime numbers between two positive integers m and n. The values of m and n are to be taken from the user.
Solution :
Thursday 10 August 2017
Jquery ID Selector
Wednesday 9 August 2017
Jquery class selector
Tuesday 8 August 2017
2d Array Compare
Q : Write a function that returns 1 if the two matrices passed to it as argument are equal and 0
otherwise.
Solution :
Jquery Page Scroller
Page scroller make your web page design more attractive and formal because when a user want see other part of your page, then he/she need to scroll page up or down using scroll bar or mouse wheel which was accepted before of jquery. Now if we have jquery then why we used traditional page design.So scroller you page using jquery.
Scroll to Top of window
Scroll to selected area of web page
Monday 7 August 2017
Average Age Calculation with dynamic structure array
Q : Write a program which asks the user to enter the name and age of persons in his group. The numbers of persons is not known to the user in the beginning of the program. The user keeps on entering the data till the user enters the age as zero. The program finally prints the average
age.
Solution :
Friday 4 August 2017
* Operator Pointer
- First make a pointer variable
- Assign address of variable to pointer
- Access variable data though * operator
Sum of series
Thursday 3 August 2017
Multiplication Table
Flow Chart Factorial Number
SQL Server output parameter
Output Parameter
Input parameter
Output Parameter
Advantage
- Decrease complexity because it help you to do more than one task in single procedure
- when inserting data to a table and you need to get the identity value back
- when perfoming select statements and you need some extra data,
- when updating or inserting data and you need some way to know if the operation was successful
- for most if not all of the reasons you need out or ref parameters in c#
Store Procedure
C# Code
UserModel ob = new
UserModel();
try
{
using
(SqlConnection dbCon = new
SqlConnection(ConfigurationManager.ConnectionStrings["dbConnection"].ToString()))
{
using
(SqlCommand cmd = new SqlCommand("[dbo].[pcheck]",
dbCon))
{
cmd.CommandType =
CommandType.StoredProcedure;
cmd.Parameters.AddWithValue("@id",
Convert.ToInt32(id));
cmd.Parameters.Add("@phone",
SqlDbType.VarChar, 30);
cmd.Parameters["@phone"].Direction
= ParameterDirection.Output;
if
(dbCon.State == ConnectionState.Closed)
dbCon.Open();
cmd.ExecuteNonQuery();
b.MobileNo =
Convert.ToString(cmd.Parameters["@phone"].Value);
}
}
}
catch
(Exception ex)
{
}
return ob;
Wednesday 2 August 2017
Passing Array to function
Q : Write a function which accepts an array of size n containing integer values and returns average of all values. Call the function from main program.
Solution :
Write a program to bonus calculation using structure
Q : Write a C program to store the employee details with the following attribute?
Sr No.
|
Basic Salary
|
Sales Percentage
|
Bonus Amount
|
1
|
<=7000
|
<=10
|
1500
|
2
|
<=7000
|
>=10
|
3000
|
3
|
>7000 and
<=15000
|
<=10
|
2000
|
4
|
>7000 and <=15000
|
>=10
|
4000
|
5
|
>15000
|
<=10
|
2500
|
6
|
>15000
|
>=10
|
4500
|
Solution :
Monday 31 July 2017
File Extension Check
Saturday 29 July 2017
Autocomplete
Thursday 27 July 2017
M3-R4 ‘C’ LANGUAGE July, 2014 Solved
M3-R4: PROGRAMMING AND PROBLEM SOLVING THROUGH ‘C’ LANGUAGE July, 2014 Solved
1. Multiple Choice
Write a program to copy a file into another file.
Q : Write a program to copy a file into another file.
Answer :
Sunday 23 July 2017
Assignment Software Project Management
Assignment
Software Project Management
Q1. What is Software Project management? Explain the activities of software project management.Q2. Define the water fall model with its stages. Explain the advantages and disadvantages of water fall model.
Assignment Java programming
Assignment
Java programming
1. Q-what do you understand by object oriented programming?2. Q-what do you understand by applet explain with example?
Assignment OBJECT ORIENTED ANALYSIS AND DESIGN
Assignment
OBJECT ORIENTED ANALYSIS AND DESIGN
Q- What is object? Explain in details?
Q- What is generalization in UML? Draw a state chart diagram of UML?
MULTIMEDIA AND ITS APPLICATION
MULTIMEDIA AND ITS APPLICATION
Q.1- What are Natural resources?Q.2- What are the problem of forestry in india?
Q.3- What are the causes of food grain problem?
Computer Graphics
Computer Graphics
Q1. Explain the term computer Graphics. Explain the input and hardcopy devices.Q2.Give the algorithm for scan conversion of circle using DDA method and midpoint algorithm
Assignment VB6.0
Assignment VB6.0
Assignment Environmental studies.
Assignment
Environmental studies.
Q.1.- Describe the changes in forest cover in India?Q.2- Write the short notes-
Assignment RDBMS ASSIGNMENT
Assignment
RDBMS ASSIGNMENT
Q1- What is codd’s Rule for RDBMS?Q2- Write the short note on the given topic.
- Foreign key
- Primary key
Assignment Principles of Accounting
Assignment
Principles of Accounting
Q1. What is accounting? Define the advantages and limitation of accounting.Q2.What is the Accounting Concepts? Define in brief.
Q3. What is accounting convention? Explain in detail all types of accounting conventions.
Q4. What is Journal and Ledger? Maintain journal and ledger for following
- Business started with Rs. 5,00,000
- Building sold rs. 50,000
- Furniture purchased rs. 10,000.
- salary paid rs. 5,000.
- Stationary purchased rs 10,000.
Assignment Data Communication and Network
Assignment
Data Communication and Network
Assignment Data Structure through C
Assignment
Data Structure through C
Q 1. What is data structure and what are the uses of data structure in computer science?Q 2.What is difference between Single and Double link list?
Assignment Principle of management
Assignment
Principle of Management
Q.1-Explain “management as a science”?Q.2-What is planning? what are its advantages?
Q.3-How Many Types of Co-ordination? Give Brief?
Assignment Operating System
Assignment
Operating System
Q1 what is operating system and its uses?Q2. What is multiprogramming explain with example?
Assignment SSAD
Assignment
SSAD
Q1. What do you understand by SDLC explain different phases of SDLC.Q2. What is testing? How many type of testing used in software engineering?
Q3. Discuss various steps in requirement analysis?
Assignment Basic Mathematics
Assignment
Basic Mathematics
Q1. What is limit and continuity of a function and define equality of a limit?Q2. Define Matrix and Its properties?
Q 3. What is a set and explain with example?
Database Management System
Assignment
Database Management System
Q1. What is database management system? Explain with example?Q2. Compare traditional file management with database approach?
Q3. What is database normalization explain with the help of example?
Moral & Value Education
Computer Organization & Architecture
Assignment
Q.1 what is Computer? What is Software? Explain its type. Where it is applied?Q2. What are the Logic Gates? Explain in detail and also explain the Universal Gates with truth table.
Q3. Convert the following into Decimal, Octal and Hexadecimal.
Structured and Spoken English
Introduction to IT & PC Software
Q2. Write notes on Input and Output device?
Friday 21 July 2017
Explain the difference between text mode and binary mode files
Streams can be classified into two types:
1. text streams and
2. Binary streams
1.Text streams are interpreted, with a maximum length of 255 characters. With text streams, carriage return/line feed combinations are translated to the newline n character and vice versa.
2. Binary streams are uninterrupted and are treated one byte at a time with no translation of characters. a text stream would be used for reading and writing standard text files, printing output to the screen or printer, or receiving input from the keyboard. A binary text stream would typically be used for reading and writing binary files such as graphics or word processing documents, reading mouse input, or reading and writing to the modem.