Asya Georgieva Telerik Software Academy academy.telerik.com QA Trainer

Slides:



Advertisements
Similar presentations
Windows Basic and Dynamic Disk Borislav Varadinov Telerik Software Academy academy.telerik.com System Administrator Marian Marinov CEO of 1H Ltd.
Advertisements

HTML Forms, GET, POST Methods Tran Anh Tuan Edit from Telerik Academy
Make swiftly iOS development Telerik Academy Telerik Academy Plus.
Amazon S 3, App Engine Blobstore, Google Cloud Storage, Azure Blobs Svetlin Nakov Telerik Software Academy academy.telerik.com.
RPN and Shunting-yard algorithm Ivaylo Kenov Telerik Software Academy academy.telerik.com Technical Assistant
Shortest paths in edge-weighted digraph Krasin Georgiev Technical University of Sofia g.krasin at gmail com Assistant Professor.
Telerik Software Academy Telerik School Academy.
Asynchronous Programming with C# and WinRT
Unleash the Power of JavaScript Tooling Telerik Software Academy End-to-end JavaScript Applications.
Touch and Gestures with Xamarin Forms
Character sequences, C-strings and the C++ String class, Working with Strings Learning & Development Team Telerik Software Academy.
Hybrid or Native?! Doncho Minkov Telerik Software Academy Senior Technical Trainer
Done already for your convenience! Telerik School Academy Unity 2D Game Development.
Processing Sequences of Elements Telerik School Academy C# Fundamentals – Part 1.
C# Fundamentals – Part I
The Business Plan and the Business Model Margarita Antonova Volunteer Telerik Academy academy.telerik.com Business System Analyst Telerik Corporation.
What are ADTs, STL Intro, vector, list, queue, stack Learning & Development Team Telerik Software Academy.
Making JavaScript code by template! Learning & Development Team Telerik Software Academy.
Svetlin Nakov Telerik Software Academy academy.telerik.com Manager Technical Training Who, What, Why?
Access to known folders, using pickers, writing to and reading from files, caching files for future access George Georgiev Telerik Software Academy academy.telerik.com.
Accessing SQL Server and MySQL – Live Demo Svetlin Nakov Telerik Software Academy academy.telerik.com Manager Technical Training
Processing Matrices and Multidimensional Tables Svetlin Nakov Telerik Software Academy academy.telerik.com Technical Trainer
Learning & Development Telerik Software Academy.
Reading and Writing Text Files Svetlin Nakov Telerik Software Academy academy.telerik.com Technical Trainer
Telerik Software Academy ASP.NET Web Forms.
When and How to Improve Code Performance? Nikolay Kostov Telerik Software Academy academy.telerik.com Senior Software Developer and Technical Trainer
Classical OOP in JavaScript Classes and stuff Telerik Software Academy
Optimization problems, Greedy Algorithms, Optimal Substructure and Greedy choice Learning & Development Team Telerik Software.
Using Selenium for Mobile Web Testing Powered by KendoUI Telerik QA Academy Atanas Georgiev Senior QA Engineer KendoUI Team.
NoSQL Concepts, Redis, MongoDB, CouchDB Svetlin Nakov Telerik Software Academy academy.telerik.com Manager Technical Training
New features: classes, generators, iterators, etc. Telerik Academy Plus JavaScript.Next.
Throwing and Catching Exceptions Tran Anh Tuan Edit from Telerik Software Academy
Loops, Conditional Statements, Functions Tran Anh Tuan Edit from Telerik Academy
Doncho Minkov Telerik Software Academy academy.telerik.com Technical Trainer
Private/Public fields, Module, Revealing Module Learning & Development Team Telerik Software Academy.
Building Data-Driven ASP.NET Web Forms Apps Telerik Software Academy ASP.NET Web Forms.
Course Introduction Svetlin Nakov Telerik Software Academy academy.telerik.com Manager Technical Training
Telerik Software Academy End-to-end JavaScript Applications.
General and reusable solutions to common problems in software design Vasil Dininski Telerik Software Academy academy.telerik.com Intern at Telerik Academy.
Planning and Tracking Software Quality Yordan Dimitrov Telerik Corporation Team Leader, Team Pulse, Team Leader, Team Pulse, Telerik Corporation,
What you need to know Ivaylo Kenov Telerik Corporation Telerik Academy Student.
Data binding concepts, Bindings in WinJS George Georgiev Telerik Software Academy academy.telerik.com Technical Trainer itgeorge.net.
Pavel Kolev Telerik Software Academy Senior.Net Developer and Trainer
Objects, Properties, Primitive and Reference Types Learning & Development Team Telerik Software Academy.
When and How to Refactor? Refactoring Patterns Alexander Vakrilov Telerik Corporation Senior Developer and Team Leader.
Free Training and Job for Software Engineers Svetlin Nakov, PhD Manager Technical Training Telerik Corp. Telerik Software Academy.
Access to known folders, using pickers, writing to and reading from files, caching files for future access George Georgiev Telerik Software Academy academy.telerik.com.
Doing the Canvas the "easy way"! Learning & Development Telerik Software Academy.
Creating and Running Your First C# Program Svetlin Nakov Telerik Software Academy academy.telerik.com Manager Technical Training
Course Overview Doncho Minkov Telerik Software Academy Technical Trainer
Subroutines in Computer Programming Telerik School Academy C# Fundamentals – Part 1.
Revealing the Secrets of Self-Documenting Code Nikolay Kostov Telerik Software Academy academy.telerik.com Senior Software Developer and Technical Trainer.
Correctly Formatting the Source Code Nikolay Kostov Telerik Software Academy academy.telerik.com Senior Software Developer and Technical Trainer
Data Types, Primitive Types in C++, Variables – Declaration, Initialization, Scope Telerik Software Academy academy.telerik.com Learning and Development.
The past, the present, the future Learning & Development Team Telerik Software Academy.
Learn to Design Error Steady Code Svetlin Nakov Telerik Software Academy academy.telerik.com Technical Trainer
Connecting, Queries, Best Practices Tran Anh Tuan Edit from Telerik Software Academy
Processing Sequences of Elements Telerik Software Academy C# Fundamentals – Part 2.
Telerik JavaScript Framework Telerik Software Academy Hybrid Mobile Applications.
Telerik Software Academy Databases.
Integer, Floating-Point, Text Data, Variables, Literals Telerik Corporation
Things start to get serious Telerik Software Academy JavaScript OOP.
Learning & Development Mobile apps for iPhone & iPad.
Processing Matrices and Multidimensional Tables Telerik Software Academy C# Fundamentals – Part 2.
Nikolay Kostov Telerik Software Academy academy.telerik.com Team Lead, Senior Developer and Trainer
Functions and Function Expressions Closures, Function Scope, Nested Functions Telerik Software Academy
Implementing Control Logic in C# Svetlin Nakov Telerik Software Academy academy.telerik.com Manager Technical trainer
Mocking tools for easier unit testing Telerik Software Academy High Quality Code.
What why and how? Telerik School Academy Unity 2D Game Development.
Windows Security Model Borislav Varadinov Telerik Software Academy academy.telerik.com System Administrator
Presentation transcript:

Asya Georgieva Telerik Software Academy academy.telerik.com QA Trainer

 Indicate the incorrect purpose of the Framework Class Library (FCL)? a)Provides functionality for creating console applications b)Provides functionality for creating WPF and Silverlight rich-media applications c)Provides functionality for creating iOS and Android applications d)Provides functionality for creating Windows Forms GUI applications e)Provides functionality for creating web applications (dynamic Web sites) 3

 Indicate the incorrect purpose of the Visual Studio IDE? a)Edit images b)Design user interface c)Write code in many languages d)Execute / test / debug applications e)Browse help and web f)Edit excel documents g)Manage project's files 4

 What will the following code result in? 6 char zero = '0'; char one = '1'; char two = '2'; char three = '3'; char four = '4'; char five = '5'; char six = '6'; char seven = '7'; char eight = '8'; char nine = '9'; string ns = (nine + two + five).ToString(); int n = ((nine - '0') * 10 + two - '0') * 10 + five - '0'; * 10 + five - '0'; Console.WriteLine(n == ns); a)True b)False c)925 d)1850 e)Run-time error f)0 g)Compile time error

 What will the following code result in? 7 char zero = '0'; char one = '1'; char two = '2'; char three = '3'; char four = '4'; char five = '5'; char six = '6'; char seven = '7'; char eight = '8'; char nine = '9'; string ns = (nine + two + five).ToString(); int n = ((nine - '0') * 10 + two - '0') * 10 + five - '0'; * 10 + five - '0'; Console.WriteLine(n.ToString() == ns); int type should be converted to string

 What will the following code result in? 8 int i = 0x10; int j = 0x2; Console.WriteLine(i<<j); d)Compilation error e)32 f)64 a)1 b)2 c)Run-time error 16 2

 What will the following code result in? 9 string str Console.WriteLine(str); e)\//"'" f)\\/"'" g)Compilation error h)Run-time error a)\\//\"\'\" b)\//"'" c)\/"'" d)\\//"'"

 What will the following code result in? 10 double a = 0.2; decimal b = 0.3m; Console.WriteLine(a+b); d)Compilation error e)Run-time error a)0 b)0.5 c)null

 What will the following code result in? 11 string a = "1"; long b = 1L; Console.WriteLine(b + a); d)2 e)Compilation error f)Run-time error a)11 b)11L c)1L1

 What will the following code result in? 13 byte number = 0; for (int i = 0; i <= 32; i++) { number >>= i; number >>= i; for (int j = 0; j >= -32; j--) for (int j = 0; j >= -32; j--) { number <<= Math.Abs(j); number <<= Math.Abs(j); }}Console.WriteLine(number); e)2 f)255 g)Compilation error h)Run-time error a)0 b)1 c)True d)False 0 shifted left/right is always 0

 What will the following code result in? 14 byte b1 = 1; int i1 = 2; int result1 = b1 << i1; int result2 = i1 << b1; int result3 = (i1 + b1) << (i1 - b1); Console.WriteLine("{0}, {1}, {2}", result1, result2, result3); result1, result2, result3); f)4, 4, 6 g)6, 6, 6 h)0, 0, 0 i)1, 1, 1 j)4, 4, 2 a)4, 6, 4 b)4, 6, 6 c)6, 6, 4 d)6, 4, 4 e)4, 4, 4

 What will the following code result in? 15 double first = 0.0f; double second = 0.0; for (int i = 0; i < 12; i++) { first += 0.1; first += 0.1;} for (int i = 0; i < 4; i++) { second += 0.3; second += 0.3;}Console.WriteLine(first==second); a)1 b)0 c) d)– e)True f)False g)Compile time error h) E+38 i) E

 What will the following code result in? 16 int n1 = 4; int n2 = 6; int n3 = 8; int result1 = n1 ^ n2 & n3; int result2 = (n1 ^ n2) & n3; int result3 = n1 ^ (n2 & n3); bool equal12 = result1 == result2; bool equal13 = result1 == result3; bool equal23 = result2 == result3; Console.WriteLine("{0}, {1}, {2}", equal12, equal13, equal23); a)True, True, True b)True, True, False c)True, False, True d)True, False, False e)False, True, True f)False, False, True g)False, False, False h)False, True, False i)Compilation error j)Run-time error Bitwise AND has higher priority than bitwise XOR

 What will the following code result in? 17 int a = 3; int b = 5; int result = a+++ ++b; Console.WriteLine("{0} {1} {2}", ++a, b++, --result); f)5 5 8 g)5 6 8 h)5 7 8 i)5 7 9 a)4 6 9 b)4 5 8 c)4 6 8 d)5 6 9 e)Compilation error

 Indicate the correct statement for the following line of code? 19 Console.Write("Full line{0}", 1, 2); a)The next print operation will result in a run-time error b)The next print operation will start on the same line c)This is an invalid method call d)This print operation will cause run-time error e)This will cause compilation error f)There is no Write(…) method in the Console class

 Which line of code should be used if we want to ensure that the decimal separator is ". "? 20 a)Console.OutputEncoding = Encoding.UTF8; b)Console.SetDecimalSeparator('.'); c)Console.DecimalSeparator = '.'; d)Console.CurrentCulture = CultureInfo.InvariantCulture; e)double.Parse(1.2); f)Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;

 What will Console.ReadLine() return when there aren't any available lines to read? a)"" b)"\0" c)'\0' d)null e)Compile time error f)Run-time error 21

 How many consecutive intervals will be printed between the two digits (1 and 2) after the execution of the following code? 22 int a = 1; int b = 2; Console.Write("{0,-10}{1,10}", a, b); a)0 b)20 c)14 d)10 e)18 f)This code will cause run-time error

 What will the following code result in? 24 bool isTrue = true; bool isFalse = false; if (!!(!(isTrue && isFalse) || !(isTrue || isFalse))) { Console.WriteLine(isFalse); Console.WriteLine(isFalse);}else{ Console.WriteLine(isTrue); Console.WriteLine(isTrue);} e)Compilation error f)Runtime error g)None of the answers a)false b)True c)true d)False

 What will the following code result in? 25 int i = 1; int j = 1; switch (i) { case 1: case 1: i = 1; i = 1; break; break; case j: case j: i = 2; i = 2; break; break; case i: case i: i = 3; i = 3; break; break; default: default: i = 4; i = 4; break; break;}Console.WriteLine(i); a)1 b)2 c)3 d)4 e)Compilation error f)Run-time error g)None of the answers The case value must be a constant

 What will the following code result in? 26 int number = 5; if (number++ == ++number) { Console.WriteLine(number + 1); Console.WriteLine(number + 1);}else{ Console.WriteLine(number + 2); Console.WriteLine(number + 2);} e)9 f)10 g)Compilation error h)Run-time error a)5 b)6 c)7 d)8

 What will the following code result in? 27 int? number = new int?(); switch (number) { case 1: Console.Write(1); break; case 1: Console.Write(1); break; case 2: Console.Write(2); break; case 2: Console.Write(2); break; case 3: Console.Write(3); break; case 3: Console.Write(3); break; case null: Console.Write(4); break; case null: Console.Write(4); break; default: Console.Write(5); break; default: Console.Write(5); break;} a)1 b)2 c)3 d)4 e)Compilation error f)Run-time error g)None of the answers

 What will the following code result in? 29 int count = 0; for (int i = 1, j = 2; i < j; i++, j++) { count++; count++; if (i == 3) i++; break; if (i == 3) i++; break;}Console.WriteLine(count); e)4 f)Compilation error g)Run-time error h)Endless loop a)0 b)1 c)2 d)3

 What will be printed on the console when the following code is executed? 30 string[] elements = { "ab", "12" }; foreach (var e in elements) { foreach (var ch in e) foreach (var ch in e) { Console.Write(ch); Console.Write(ch); } Console.Write(e); Console.Write(e);} a)ab12 b)12ab c)abab1212 d)ab12ab12 e)12ab12ab f)Endless loop g)Run-time error h)Compilation error

 What will the following code result in? 31 int n = 4, f = 0; do{ f *= n; f *= n; n--; n--;} while (n > 0); Console.WriteLine(f); f)120 g)Compilation error h)Run-time error i)Endless loop a)0 b)4 c)6 d)12 e)24

 What will the following code result in? 32 for (int i = 1; i <= 4; i = i * 2) { Console.Write(i + " "); Console.Write(i + " ");} f)1 2 4 g)Compilation error h)Run-time error i)Endless loop a)1 2 b)2 4 6 c)2 4 8 d)1 2 3 e)

 What will the following code result in? 33 int sum = 0; while (sum < 10) for (int i = 0; i <= 2; i++) for (int i = 0; i <= 2; i++) sum += i; sum += i;Console.WriteLine(sum); e)12 f)Compilation error g)Run-time error h)Endless loop a)0 b)9 c)10 d)11

*** Try your luck! What will be written on the console when the following code is executed? 34 int toto = 1; for (int i = 2; i <= 4; i++, toto++) { for (int j = i - 1; j < i + 1; j += 2, toto += i < j ? 1 : -1) for (int j = i - 1; j < i + 1; j += 2, toto += i < j ? 1 : -1) { toto <<= 2; toto <<= 2; }} Console.WriteLine(toto - 57); e)6 f)35 g)42 h)49 a)-49 b)-42 c)-35 d)5

форум програмиране, форум уеб дизайн курсове и уроци по програмиране, уеб дизайн – безплатно програмиране за деца – безплатни курсове и уроци безплатен SEO курс - оптимизация за търсачки уроци по уеб дизайн, HTML, CSS, JavaScript, Photoshop уроци по програмиране и уеб дизайн за ученици ASP.NET MVC курс – HTML, SQL, C#,.NET, ASP.NET MVC безплатен курс "Разработка на софтуер в cloud среда" BG Coder - онлайн състезателна система - online judge курсове и уроци по програмиране, книги – безплатно от Наков безплатен курс "Качествен програмен код" алго академия – състезателно програмиране, състезания ASP.NET курс - уеб програмиране, бази данни, C#,.NET, ASP.NET курсове и уроци по програмиране – Телерик академия курс мобилни приложения с iPhone, Android, WP7, PhoneGap free C# book, безплатна книга C#, книга Java, книга C# Николай Костов - блог за програмиране