Session Topics
Basics (Data types)
Looping
1. Basics
Condition
Logical programs
class & object
Abstraction
Encapsulation
Polymorphism
2. OOPS Constructor & Destructor
Inheritance
Interface
Delegate & events
Sealed Class
Static
Abstract
Virtual
3. Class Types
String
Date
Collections
Reflection
Thread
4. Collection
File system
Exception Handling
5. Database Connection SQL & DB
Sl.No Exercises
1 Write a program to check whether a number is even or odd.
Write a program to print the following output.
0
02
2 036
0 4 8 12
0 5 10 15 20
0 6 12 18 24 36
3 Calculate the sum of Odd and Even Number between 1 to 100 using for loop.
Write a program to display the terms in the fibonacci sequence
Fib(0) = 0
Fib(1) = 1
4 Fib(2) = 1 (0 + 1)
Fib(3) = 2 (1 + 1)
Fib(4) = 3 (1 + 2)
Fib(5) = 5 (2 + 3)
Write a program to print a pyramid. Get the no of lines from user
*
* *
5
* * *
1. With Looping
2. Without Looping
6 Write a program to loop infiinitely using "for" looping
Write a program to count number existing within range
Input : 1, 10, 29, 34, 4, 2, 4, 5, 5, 3
7
output 0 - 9 --> 5
10 - 19 --> 1
20 - 29 --> 1, etc…till 99.
8 write a program Arithmetic progress & geometric progress
Write a program to bank account processing,
Data members
- Name of the depositor
- Account number
- Type of Account
9 - Balance amount in the account
Methods
- To assign intial values
- To deposit an amount
- To withdraw an amount after checking balance
- To display name and balance
Write a Employee, Student, Professor classes which extends base class to demonstrate the
10
inheritance concept
Write a area() to found the area of circle, rectangle, square to demonstrate runtime
11
polymorphishm
Write a program to demonstate the constructor and destructor.
- Empty constructor - should say "Hi All"
12 - parameterized constructor - should say "Hi XXXX", here XXX is the name
- Destructor - Should say "Bye XXXX".
13 Write employee details program using encapsulation and abstraction.
Write a sample program for the operator overloading
if the input is two integer it should concatenate value
14
if the input is two string value then it should juggle the letters.
Example: inputs are "ABC" and "XYZ"; output should be "AXBYCZ"
Write a simple program to demonstrate delegate, program should consist the methods are
add, substract, multiplication
15 First output should reflect only add method
Second output should reflect add, subtract methods
third output should reflect only substract method
fourth output should reflect all the methods
16 Write a book store operations using struct. Use class in java/C#
Write a sample program for the automatic money deduction, if an employee got salary
17
immediately it should call the event of PF deduction
Write a program for the exception handling, program should have the multiple catch block,
18
in that atleast one catch block should include the your own exception class
19 Write a sample program for the function overloading and function overriding?
Write an interface for the student, which should include the basic properties and functions,
and then write an abstract class to implement the student interface (Here atleast one
method should be the common for implementation classes). And then implement the
20
SportsStudent & NormalStudent classes which inherit the abstract class. Demonstrate the
some specific functions for the SportsStudent & NormalStudent
write a sample employee program for the multi level inheritance.
Order - Employee
21
- Junior employee
- Senior employee
- Most Senior employee
Write a sample program for the multiple inheritance.
22
Example student & staff are implemented in the college class
Write a multiplication table until the given input
example : input is 3
23 1 2 3
1 1 2 3
2 2 4 6
3 3 6 9
Write a sample program by using Sealed Class and understand the access of the class and
24
uses
Write a sample program by using static Class and understand the uses, advantages and
25
disadvantaged of it
Write a program to get the last word from the given string
26 E.g. Input: FIME India
Output: India
Write a program to merge three string.
Str1=Welcome
27
Str2=hello
Str3=Orange
Write a program that asks the user’s name, and then greets the user by name. Before
28 outputting the user’s name, convert it to upper case letters. For example, if the user’s name
is Fred, then the program should respond “Hello, FRED, nice to meet you!”.
To “capitalize” a string means to change the first letter of each word in the string to upper
29 case (if it is not already upper case). For example, a capitalized version of “Now is the time
to act!” is “Now Is The Time To Act!”.
Write a program to delete characters from a string. Method Name :
30 removeAllOccurrences(String str, char ch) Ex : removeAllOccurrences("---0---", '-')
returns "0"
Write a program to remove the doubled letters in the given string.
31 all inputs are small characters.
Ex: removeDoubledLetters('tresidder') returns 'tresider'
Write a program to get all the names separately and printed line by line
E.g. Input: "APPLE, BLACKBERRY, COMPUTER, DEFAULT,
EMULATOR,FUNCTION"
Output : APPLE
32 BLACKBERRY
COMPUTER
DEFAULT
EMULATOR
FUNCTION
33 Write a sample program to handle the generic and specific exception
Write a sample program to Read and Write the file with some text and understand the
34
finally block when exception is caught
Write a program to create a batch file programmatically to launch Notepad and
Calculator application.
35
Scenario : First should launch Notepad application, once notepad application is closed then
Calculator application shall be launched.
Write a program to valid the given string by using Regular Expression
1) Hexadecimal Validation with multiline
2) IP address validation
3) FileName_DDMMYYYY_12345678
36
4) Replace the data with Regular expression
ICC >> : <Chip>
IFD >> : <Terminal>
5) Remove junk character from the Hexadecimal value and Validation
Write a program that asks user to enter list of names until users enter blank line. Print the
37
unique names.
Create a Student class with name, standard. Group the students by class. Display the
38 students name based on user input. If user enters 1, it should display 1st standard student
names.
39 Write a sample programs for printing 1 to 100 number. Using Threads
Write a prorgram to execute Threads t1,t2,t3,t4 should print in the order without using
40
priority
41 Write a program to print "Welcome" message for every 1 minutes
42 Write a program to read a file and print each line in reverse order in a new file
Write a program that print the multiple of '5' based on the number send by user. Create two
threads & start two thread. For example: Thread t1 pass "5" & Thread t2 pass "100"
output: 5
10
15
20
43
25
100
200
300
400
500 Thread concept
44 Write a program to read and write excel, based on the row and column number
45 Write a program to XML serialization and deserialization
Session Priority Status
Understanding of Basics Low OPEN
Understanding of Basics Medium OPEN
Understanding of Basics Low OPEN
Understanding of Basics Medium OPEN
Understanding of Basics Medium OPEN
Understanding of Basics Medium OPEN
Understanding of Basics Medium OPEN
Understanding of Basics High OPEN
Understanding of OOPS High OPEN
Understanding of OOPS High OPEN
Understanding of OOPS Medium OPEN
Understanding of OOPS Medium OPEN
Understanding of OOPS Medium OPEN
Understanding of OOPS Medium OPEN
Understanding of OOPS Low OPEN
Understanding of OOPS Low OPEN
Understanding of OOPS Low OPEN
Understanding of OOPS High OPEN
Understanding of OOPS High OPEN
Understanding of OOPS Medium OPEN
Understanding of OOPS Medium OPEN
Understanding of OOPS Low OPEN
Understanding of OOPS Low OPEN
Understanding of OOPS Low OPEN
Understanding of OOPS Medium OPEN
Understanding String object Low OPEN
Understanding String object Low OPEN
Understanding String object Low OPEN
Understanding String object Medium OPEN
Understanding String object Low OPEN
Understanding String object High OPEN
Understanding String object Medium OPEN
Understanding exception concept Medium OPEN
Understanding file system &
Low OPEN
exception concept
Understanding batch concept Low OPEN
Understanding Regular Expression
Medium OPEN
concept
Understanding of Collections Medium OPEN
Understanding of Collections Medium OPEN
Understanding of Threads Low OPEN
Understanding of Threads Low OPEN
Understanding of Timer Low OPEN
Understanding of Files Low OPEN
Understanding of Threads Low OPEN
Understanding of file Low OPEN
Understanding of XML Low OPEN
Estimated Time in
Minutes Time taken Remark
10
30
20
15
40
10
30
10
45
45
30
30
30
45
30
30
60
60
45
90
45
45
45
30
30
20
15
30
30
30
25
25
30
30
45
60
30
45
30
30
30
30
60
60
60
High
Low
Medium
Sl.No Exercises Session
Create a page which should have top, bottom, centre, left and right
1 WPF
contents in seperated view
2 Demonstrate calculator function using User Control WPF
3 Read the excel file and display it in the Grid WPF
4 Directory listing using Tree View control WPF
5 Image resizing using slider and binding concept WPF
6 Write one sample program to demonstrate Property Trigger WPF
Create a simple student page to store and retrive using JSON
7 WPF
Serialization and Deserialization
8 Demonstrate INotifyPropertyChanged WPF
Implement any GUI in two different languages (By default english if we
9 select to switch to other language same page need to be converted to WPF
other language).
Demonstrate one example for Value converter for
one -> 1
two -> 2
10 WPF
three-> 3
four -> 4
five -> 5
Estimated Time in
Status Hours Time taken
OPEN
OPEN
OPEN
OPEN
OPEN
OPEN
OPEN
OPEN
OPEN
OPEN
Remark
Sl.No Exercises
Create a Simple WCF Service(Self-hosting) to perform Basic Mathematical Operations
1
(Addition, Subtraction, Multiplication, Division and Modulus)
Create a Simple WEB API Service to perform Basic Mathematical Operations (Addition,
2
Subtraction, Multiplication, Division and Modulus), along with add JWT Authentication
Estimated Time in
Session Status Hours Time taken Remark
WCF OPEN 6
Web API OPEN 12