Doncho Minkov Telerik School Academy schoolacademy.telerik.com Technical Trainer

Slides:



Advertisements
Similar presentations
CSCI3170 Introduction to Database Systems
Advertisements

CSCI 6962: Server-side Design and Programming Input Validation and Error Handling.
ADO.NET Entity Framework
INSERT BOOK COVER 1Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Access 2010 by Robert Grauer, Keith Mast,
Meeting #1 – November 2010 – Intro to C# Homework Assignments Svetlin Nakov Telerik Corporation
Meeting #3 – January 2011 – Databases Homework Assignments Svetlin Nakov Telerik Corporation
Let’s try Oracle. Accessing Oracle The Oracle system, like the SQL Server system, is client / server. For SQL Server, –the client is the Query Analyser.
A Guide to SQL, Seventh Edition. Objectives Understand the concepts and terminology associated with relational databases Create and run SQL commands in.
Chapter 14: Advanced Topics: DBMS, SQL, and ASP.NET
2.3 Cool features in C# academy.zariba.com 1. Lecture Content 1.Extension Methods 2.Anonymous Types 3.Delegates 4.Action and Func 5.Events 6.Lambda Expressions.
ORM Technologies and Entity Framework (EF)
TRACK 3™ The ultimate process management software.
SQL Reporting Services Overview SSRS includes all the development and management pieces necessary to publish end user reports in  HTML  PDF 
1 Nassau Community CollegeProf. Vincent Costa Acknowledgements: Introduction to Database Management, All Rights ReservedIntroduction to Database Management.
MS Access: Database Concepts Instructor: Vicki Weidler.
ORM Concepts, ADO.NET Entity Framework (EF), ObjectContext Doncho Minkov Telerik School Academy schoolacademy.telerik.com Technical Trainer
Telerik Software Academy ASP.NET Web Forms Data Validation, Data Validators, Validation Groups Telerik Software Academy
Databases and LINQ Visual Basic 2010 How to Program 1.
LINQ Boot Camp ADO.Net Entity Framework Presenter : Date : Mahesh Moily Nov 26, 2009.
Server-side Scripting Powering the webs favourite services.
4-1 INTERNET DATABASE CONNECTOR Colorado Technical University IT420 Tim Peterson.
Entity Framework, a quickstart Florin−Tudor Cristea, Microsoft Student Partner.
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
Part 06 – A More Complex Data Model Entity Framework and MVC NTPCUG Tom Perkins.
Miscellaneous Excel Combining Excel and Access. – Importing, exporting and linking Parsing and manipulating data. 1.
10 May Microsoft Access 2010 Relational databases’ program Part of the Microsoft Office package Administer relational database Update database through.
Database Management System Lecture 4 The Relational Database Model- Introduction, Relational Database Concepts.
Introduction to Entity Framework Part 2 CRUD Scaffolding Tom Perkins NTPCUG.
1.6 Loops academy.zariba.com 1. Lecture Content 1.While loops 2.Do-While loops 3.For loops 4.Foreach loops 5.Loop operators – break, continue 6.Nested.
CPS120: Introduction to Computer Science Lecture 19 Introduction to SQL.
System Development Lifecycle Verification and Validation.
M1G Introduction to Database Development 2. Creating a Database.
Entity-Relationship (ER) Modelling ER modelling - Identify entities - Identify relationships - Construct ER diagram - Collect attributes for entities &
Database Management Systems.  Database management system (DBMS)  Store large collections of data  Organize the data  Becomes a data storage system.
Introduction to LINQ Chapter 11. Introduction Large amounts of data are often stored in a database—an organized collection of data. A database management.
1 CSE 2337 Introduction to Data Management Access Book – Ch 1.
CSC207 – Software Design Final Preparation. Structure of Exam Descriptive Qs. –5 each 4 marks Code understanding –1 for 10 marks Analysis / Implementation.
Using SQL Connecting, Retrieving Data, Executing SQL Commands, … Svetlin Nakov Technical Trainer Software University
Ventsislav Popov Crossroad Ltd.. 1. ASP.NET Data Source Controls  SqlDataSource  EntityDataSource  ObjectDataSource 2. Entity Data Model and ADO.NET.
ADVANTAGES OF DATA BASE MANAGEMENT SYSTEM. TO BE DICUSSED... Advantages of Database Management System  Controlling Data RedundancyControlling Data Redundancy.
Introduction to Functions – Single Row Functions.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
7 Copyright © 2009, Oracle. All rights reserved. Regular Expression Support.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
LINQ to DATABASE-2.  Creating the BooksDataContext  The code combines data from the three tables in the Books database and displays the relationships.
Meeting #2 – December 2010 – Software Engineering Homework Assignments Svetlin Nakov Telerik Corporation
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Address Book Application Introducing Database Programming.
A Mobile Library Management System Advisor: Dr. Shen Student: Ananta Gampaa November 8 th,2005.
CSCI 6962: Server-side Design and Programming Shopping Carts and Databases.
Manipulating Data Lesson 3. Objectives Queries The SELECT query to retrieve or extract data from one table, how to retrieve or extract data by using.
CSCI 3327 Visual Basic Chapter 13: Databases and LINQ UTPA – Fall 2011.
Retele de senzori Curs 2 - 1st edition UNIVERSITATEA „ TRANSILVANIA ” DIN BRAŞOV FACULTATEA DE INGINERIE ELECTRICĂ ŞI ŞTIINŢA CALCULATOARELOR.
MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Sravanthi Lakkimsety Mar 14,2016.
CIS-NG CASREP Information System Next Generation Shawn Baugh Amy Ramirez Amy Lee Alex Sanin Sam Avanessians.
Chapter 11.  Large amounts of data are often stored in a database—an organized collection of data.  A database management system (DBMS) provides mechanisms.
Copyright © 2014 Pearson Canada Inc. Ext. 5b-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5b Using Microsoft Access Part 2: Using Information.
Introduction to Entity framework
NoSQL Databases NoSQL Concepts Databases Telerik Software Academy
Visual Basic 2010 How to Program
Introduction to Entity Framework
Databases Chapter 9 Asfia Rahman.
C++ Basic Syntax – Homework Exercises
Data Definition and Data Types
Data File Import / Export
STRUCTURED QUERY LANGUAGE
Introduction to LINQ Chapter 11 10/28/2015 Lect 4 CT1411.
Introduction to LINQ Chapter 11.
Manipulating Data Lesson 3.
.NET Framework V3.5+ & RESTful web services
Presentation transcript:

Doncho Minkov Telerik School Academy schoolacademy.telerik.com Technical Trainer

2 1. Write a program that, for a given two integer numbers N and X, calculates the sum S = 1 + 1!/X + 2!/X 2 + … + N!/X N 2. Write a program that reads a number N and calculates the sum of the first N members of the sequence of Fibonacci: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, … Each member of the Fibonacci sequence (except the first two) is a sum of the previous two members. 3. Write a program that calculates the greatest common divisor (GCD) of given two numbers. Use the Euclidean algorithm (find it in Internet).

4. Write a program that fills a matrix of size (N, N) as shown in the examples (for N=4): a)b) *c)*d)

4 5. * Write a program that converts a number in the range [ ] to a text corresponding to its English pronunciation. Examples: 0  "Zero" 273  "Two hundred seventy three" 400  "Four hundred" 501  "Five hundred and one" 711  "Severn hundred and eleven"

6. Write a program that reads a list of words, separated by spaces and prints the list in an alphabetical order. 7. Write a program to check if in a given expression the brackets are put correctly. Example of correct expression: ((a+b)/5-d). Example of incorrect expression: )(a+b)). 8. Write a program that generates and prints to the console 10 random values in the range [100,200]. 9. Write a program that prints to the console which day of the week is today. Use System.DateTime. 5

10. Write a program that parses an URL address given in the format: and extracts from it the [protocol], [server] and [resource] elements. For example from the URL the following information should be extracted: [protocol] = "http" [server] = " [resource] = "/forum/index.php" 6 [protocol]://[server]/[resource]

11. We are given a library of books. Define classes for the library and the books. The library should have name and a list of books. The books have title, author, publisher, year of publishing and ISBN. Keep the books in List (first find how to use the class System.Collections.Generic.List ). 12. Implement methods for adding, searching by title and author, displaying and deleting books. 13. Write a test class that creates a library, adds few books to it and displays them. Find all books by Nakov, delete them and print again the library. 7

14. Create a class student with properties FirstName, LastName, FN, Tel, , Marks (a List ), GroupNumber. Create a List with sample students. Select only the students that are from group number 2. Use LINQ query. Order the students by FirstName. 15. Implement the previous using the same query expressed with extension methods. 16. Extract all students that have in abv.bg. Use string methods and LINQ. 17. Extract all students with phones in Sofia. Use LINQ and regular expressions. 8

18. Select all students that have at least one mark Excellent (6) into a new anonymous class that has properties – FullName and Marks. Use LINQ. 19. Write down a similar program that extracts the students with exactly two marks "2". Use extension methods. 20. Extract all Marks of the students that enrolled in (The students from 2006 have 06 as their 5-th and 6-th digit in the FN). 22. Create a program that extracts all students grouped by GroupName and then prints them to the console. Use LINQ. 9

23. Using the Visual Studio Entity Framework designer create a ObjectContext for the Northwind database 24. Create a DAO class with static methods which provide functionality for inserting, modifying and deleting customers. Write a testing class. 25. Write a method that finds all customers who have orders made in 1997 and shipped to Canada. 26. Implement previous by using native SQL query and executing it through the ObjectContext. 27. Write a method that finds all the sales by specified region and period (start / end dates).

28. Create a database called NorthwindTwin with the same structure as Northwind using the features from ObjectContext. Find for the API for schema generation in MSDN or in Google. 29. Try to open two different data contexts and perform concurrent changes on the same records. What will happen at SaveChanges() ? How to deal with it? 30. By inheriting the Employee entity class create a class which allows employees to access their corresponding territories as property of type EntitySet.

31. Create a method that places a new order in the Northwind database. The order should contain several order items. Use transaction to ensure the data consistency. 32. Create a stored procedures in the Northwind database for finding the total incomes for given supplier name and period (start date, end date). Implement a C# method that calls the stored procedure and returns the retuned record set. 12