Title: 07. Arrays
URL Source: https://www.slideshare.net/slideshow/07-arrays-230464148/230464148
Markdown Content:
07\. Arrays | PPT
===============
Opens in a new window Opens an external website Opens an external website in a new window
This website utilizes technologies such as cookies to enable essential site functionality, as well as for analytics, personalization, and targeted advertising purposes. To learn more, view the following link: [Cookie Policy](https://www.slideshare.net/privacy)
[](https://www.slideshare.net/ "Return to the homepage")
Submit Search
07\. Arrays
===========
Mar 18, 2020Download as PPTX, PDF0 likes94,245 views
[ Intro C# Book](https://www.slideshare.net/introprogramming "Intro C# Book")Follow
In this chapter we will learn about arrays as a way to work with sequences of elements of the same type. We will explain what arrays are, how we declare, create, instantiate and use them. We will examine one-dimensional and multidimensional arrays. We will learn different ways to iterate through the array, read from the standard input and write to the standard output. We will give many example exercises, which can be solved using arrays and we will show how useful they really are.Read less
Read more
1 of 44
Download now
Downloaded 44 times




![Image 7: 5
The days of week can be stored in array of strings:
Days of Week Example
string[] days = {
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday"
};
Expression Value
days[0] Monday
days[1] Tuesday
days[2] Wednesday
days[3] Thursday
days[4] Friday
days[5] Saturday
days[6] Sunday
](https://image.slidesharecdn.com/2-200318130713/85/07-Arrays-5-320.jpg)
![Image 8: 6
Enter a day number [17] and print the day name (in English) or
"Invalid day!"
Problem: Day of Week
string[] days = { "Monday", "Tuesday", "Wednesday",
"Thursday", "Friday", "Saturday", "Sunday" };
int day = int.Parse(Console.ReadLine());
if (day >= 1 && day <= 7)
Console.WriteLine(days[day - 1]);
else
Console.WriteLine("Invalid day!");
Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#0
](https://image.slidesharecdn.com/2-200318130713/85/07-Arrays-6-320.jpg)
![Image 9: 7
Allocating an array of 10 integers:
Assigning values to the array elements:
Accessing array elements by index:
Working with Arrays
int[] numbers = new int[10];
for (int i = 0; i < numbers.Length; i++)
numbers[i] = 1;
numbers[5] = numbers[2] + numbers[7];
numbers[10] = 1; // IndexOutOfRangeException
All elements are
initially == 0
The Length holds
the number of
array elements
The [] operator accesses
elements by index
](https://image.slidesharecdn.com/2-200318130713/85/07-Arrays-7-320.jpg)
![Image 10: 8
Write a program to find all prime numbers in range [0n]
Sieve of Eratosthenes algorithm:
1. primes[0n] = true
2. primes[0] = primes[1] = false
3. Find the smallest p, which
holds primes[p] = true
4. primes[2*p] = primes[3*p] =
primes[4*p] = = false
5. Repeat for the next smallest p
Problem: Sieve of Eratosthenes
](https://image.slidesharecdn.com/2-200318130713/85/07-Arrays-8-320.jpg)
![Image 11: 9
Solution: Sieve of Eratosthenes
var n = int.Parse(Console.ReadLine());
bool[] primes = new bool[n + 1];
for (int i = 0; i <= n; i++) primes[i] = true;
primes[0] = primes[1] = false;
for (int p = 2; p <= n; p++)
if (primes[p]) FillPrimes(primes, p);
static void FillPrimes(bool[] primes, int step)
{
for (int i = 2 * step; i < primes.Length; i += step)
primes[i] = false;
}
Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#1
TODO: print the
calculated prime
numbers at the end
](https://image.slidesharecdn.com/2-200318130713/85/07-Arrays-9-320.jpg)

![Image 13: 11
Solution: Last K Numbers Sums
var n = int.Parse(Console.ReadLine());
var k = int.Parse(Console.ReadLine());
var seq = new long[n];
seq[0] = 1;
for (int current = 1; current < n; current++)
{
var start = Math.Max(0, current - k);
var end = current - 1;
long sum = // TODO: sum the values of seq[start end]
seq[current] = sum;
}
// TODO: print the sequence seq[]
Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#2
](https://image.slidesharecdn.com/2-200318130713/85/07-Arrays-11-320.jpg)


![Image 16: 14
First, read from the console the length of the array:
Next, create the array of given size n and read its elements:
Reading Arrays From the Console
int n = int.Parse(Console.ReadLine());
int[] arr = new int[n];
for (int i = 0; i < n; i++)
{
arr[i] = int.Parse(Console.ReadLine());
}
](https://image.slidesharecdn.com/2-200318130713/85/07-Arrays-14-320.jpg)

![Image 18: 16
Solution: Sum, Min, Max, First, Last, Average
using System.Linq;
var n = int.Parse(Console.ReadLine());
var nums = new int[n];
for (int i = 0; i < n; i++)
nums[i] = int.Parse(Console.ReadLine());
Console.WriteLine("Sum = {0}", nums.Sum());
Console.WriteLine("Min = {0}", nums.Min());
// TODO: print also max, first, last and average values
Use System.Linq to enable aggregate
functions like .Max() and .Sum()
Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#3
](https://image.slidesharecdn.com/2-200318130713/85/07-Arrays-16-320.jpg)
![Image 19: 17
Arrays can be read from a single line of space separated values:
Or even write the above as a single line of code:
Reading Array Values from a Single Line
string values = Console.ReadLine();
string[] items = values.Split(' ');
int[] arr = new int[items.Length];
for (int i = 0; i < items.Length; i++)
arr[i] = int.Parse(items[i]);
int[] arr = Console.ReadLine().Split(' ')
.Select(int.Parse).ToArray();
2 8 30 25 40 72 -2 44 56
string.Split(' ')
splits string by space
and produces string[]
Use System.Linq to
enable .Select()
](https://image.slidesharecdn.com/2-200318130713/85/07-Arrays-17-320.jpg)

![Image 21: 19
Solution: Triple Sum (a + b == c)
Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#4
int[] nums = Console.ReadLine().Split(' ')
.Select(int.Parse).ToArray();
for (int i = 0; i < nums.Length; i++)
for (int j = i + 1; j < nums.Length; j++)
{
int a = nums[i];
int b = nums[j];
int sum = a + b;
if (nums.Contains(sum))
Console.WriteLine($"{a} + {b} == {sum}");
}
TODO: print "No"
when no triples
are found
](https://image.slidesharecdn.com/2-200318130713/85/07-Arrays-19-320.jpg)

![Image 23: Printing Arrays on the Console
To print all array elements, a for-loop can be used
Separate elements with white space or a new line
Example:
string[] arr = {"one", "two", "three", "four", "five"};
// Process all array elements
for (int index = 0; index < arr.Length; index++)
{
// Print each element on a separate line
Console.WriteLine("arr[{0}] = {1}", index, arr[index]);
}
21
](https://image.slidesharecdn.com/2-200318130713/85/07-Arrays-21-320.jpg)

![Image 25: 23
Solution: Rounding Numbers
Rounding turns each value to the nearest integer
What to do when the value is exactly between two integers?
Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#5
double[] nums = Console.ReadLine()
.Split(' ').Select(double.Parse).ToArray();
int[] roundedNums = new int[nums.Length];
for (int i = 0; i < nums.Length; i++)
roundedNums[i] = (int) Math.Round(nums[i],
MidpointRounding.AwayFromZero);
for (int i = 0; i < nums.Length; i++)
Console.WriteLine($"{nums[i]} -> {roundedNums[i]}");
](https://image.slidesharecdn.com/2-200318130713/85/07-Arrays-23-320.jpg)
![Image 26: Printing with foreach / String.Join()
Use foreach-loop:
Use string.Join(separator, array):
int[] arr = { 1, 2, 3 };
Console.WriteLine(string.Join(", ", arr)); // 1, 2, 3
string[] strings = { "one", "two", "three", "four" };
Console.WriteLine(string.Join(" - ", strings));
// one - two - three - four
24
int[] arr = { 10, 20, 30, 40, 50};
foreach (var element in arr)
Console.WriteLine(element)
](https://image.slidesharecdn.com/2-200318130713/85/07-Arrays-24-320.jpg)

![Image 28: 26
Solution: Reverse Array
Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#6
var nums = Console.ReadLine()
.Split(' ').Select(int.Parse).ToArray();
for (int i = 0; i < nums.Length / 2; i++)
SwapElements(nums, i, nums.Length - 1 - i);
Console.WriteLine(string.Join(" ", nums));
static void SwapElements(int[] arr, int i, int j)
{
var oldElement = arr[i];
arr[i] = arr[j];
arr[j] = oldElement;
}
](https://image.slidesharecdn.com/2-200318130713/85/07-Arrays-26-320.jpg)




![Image 33: 31
Solution: Sum Arrays
var arr1 = Console.ReadLine()
.Split(' ').Select(int.Parse).ToArray();
var arr2 = // TODO: read the second array of integers
var n = Math.Max(arr1.Length, arr2.Length);
var sumArr = new int[n];
for (int i = 0; i < n; i++)
sumArr[i] =
arr1[i % arr1.Length] +
arr2[i % arr2.Length];
Console.WriteLine(string.Join(" ", sumArr));
Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#7
Loop the array: end start
arr[len] arr[0]
arr[len+1] arr[1]
](https://image.slidesharecdn.com/2-200318130713/85/07-Arrays-31-320.jpg)

![Image 35: 33
Solution: Condense Array to Number
Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#8
int[] nums = Console.ReadLine()
.Split(' ').Select(int.Parse).ToArray();
while (nums.Length > 1)
{
int[] condensed = new int[nums.Length - 1];
for (int i = 0; i < nums.Length - 1; i++)
condensed[i] = // TODO: sum nums
nums = condensed;
}
Console.WriteLine(nums[0]);
2 10 3
12 13
0 1 2
nums[] :
condensed[] :
](https://image.slidesharecdn.com/2-200318130713/85/07-Arrays-33-320.jpg)

![Image 37: 35
Solution: Extract Middle 1, 2 or 3 Elements
Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#9
static int[] ExtractMiddleElements(int[] arr)
{
int start = arr.Length / 2 - 1;
int end = start + 2;
if (arr.Length == 1) start = end = 0;
else if (arr.Length % 2 == 0) end--;
int[] mid = new int[end - start + 1];
// Copy arr[start end] mid[]
return mid;
}
1 2 3 4 5 6 7
start end
](https://image.slidesharecdn.com/2-200318130713/85/07-Arrays-35-320.jpg)

![Image 39: 37
Solution: Largest Common End
Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#10
static int LargestCommonEnd(
string[] words1, string[] words2)
{
var rightCount = 0;
while (rightCount < words1.Length &&
rightCount < words2.Length)
if (words1[words1.Length - rightCount - 1] ==
words2[words2.Length - rightCount - 1])
rightCount++;
else break;
return rightCount;
}
](https://image.slidesharecdn.com/2-200318130713/85/07-Arrays-37-320.jpg)



![Image 43: 41
Arrays hold sequence of elements
Elements are numbered from 0 to length-1
Creating (allocating) an array:
Accessing array elements by index:
Printing array elements:
Summary
int[] numbers = new int[10];
numbers[5] = 10;
Console.Write(string.Join(" ", arr));
](https://image.slidesharecdn.com/2-200318130713/85/07-Arrays-41-320.jpg)



Recommended
-----------
[15\. Streams Files and Directories](https://www.slideshare.net/slideshow/15-streams-files-and-directories/230464406)

15\. Streams Files and Directories
[Intro C# Book](https://www.slideshare.net/introprogramming)
In this chapter we will review how to work with text files in C#. We will explain what a stream is, what its purpose is, and how to use it. We will explain what a text file is and how can you read and write data to a text file and how to deal with different character encodings. We will demonstrate and explain the good practices for exception handling when working with files. All of this will be demonstrated with many examples in this chapter
[Generics C#](https://www.slideshare.net/slideshow/c-session-5/12736022)

Generics C#
[Raghuveer Guthikonda](https://www.slideshare.net/raghu2314)
This document discusses generics in .NET. It introduces generics, generic classes, interfaces, structs and methods. Generics allow defining type-safe and reusable collection classes without compromising type safety or performance. Generic classes encapsulate operations that are not specific to a data type, commonly used for collections. Generic interfaces avoid boxing/unboxing for value types. Methods can also be generic with the ability to apply constraints.
[Sql clauses by Manan Pasricha](https://www.slideshare.net/MananPasricha/sql-cl-auses-by-manan-pasricha-232720659)

Sql clauses by Manan Pasricha
[MananPasricha](https://www.slideshare.net/MananPasricha)
Clauses in Sql(Structured Query Language), distinct clause, where clause, where clause, order by clause, group by clause, having clause, Relational Database Management System
[Object-oriented Programming-with C#](https://www.slideshare.net/slideshow/objectoriented-programmingwith-c/11369758)

Object-oriented Programming-with C#
[Doncho Minkov](https://www.slideshare.net/DonchoMinkov)
The document discusses object-oriented programming concepts in C#, including defining classes, constructors, properties, static members, interfaces, inheritance, and polymorphism. It provides examples of defining a simple Cat class with fields, a constructor, properties, and methods. It also demonstrates using the Dog class by creating dog objects, setting their properties, and calling their bark method.
[Dictionaries and Sets in Python](https://www.slideshare.net/slideshow/dictionaries-and-sets-in-python-93185513/93185513)

Dictionaries and Sets in Python
[MSB Academy](https://www.slideshare.net/MSBAcademy)
This document discusses dictionaries and sets in Python. It explains that dictionaries store collections of key-value pairs while sets store unique elements without order. It provides examples of creating, modifying, and iterating over both dictionaries and sets. Methods for dictionaries include getting values, adding/deleting elements, and clearing. Set methods include adding/removing elements, finding unions, intersections, differences and more.
[Python](https://www.slideshare.net/slideshow/python-12270345/12270345)

Python
[Kumar Gaurav](https://www.slideshare.net/gauravsitu)
\- Python is an interpreted, object-oriented programming language that is beginner friendly and open source. It was created in the 1990s and named after Monty Python. - Python is very suitable for natural language processing tasks due to its built-in string and list datatypes as well as libraries like NLTK. It also has strong numeric processing capabilities useful for machine learning. - Python code is organized using functions, classes, modules, and packages to improve structure. It is interpreted at runtime rather than requiring a separate compilation step.
[Introduction to structured query language (sql)](https://www.slideshare.net/slideshow/introduction-to-structured-query-language-sql-132686875/132686875)

Introduction to structured query language (sql)
[Sabana Maharjan](https://www.slideshare.net/drapdelit)
This document provides an introduction to structured query language (SQL). It discusses the two broad categories of SQL functions: data definition language and data manipulation language. The data definition language includes commands for creating database objects like tables and views, while the data manipulation language includes commands for inserting, updating, deleting, and retrieving data from tables. The document then covers topics like SQL data types, table structures, constraints, indexes, and basic data manipulation commands. It also discusses more advanced SQL concepts such as joins, aggregate functions, and views.
[Cursors](https://www.slideshare.net/PriyankaYadav57/cursors-88079389)

Cursors
[Priyanka Yadav](https://www.slideshare.net/PriyankaYadav57)
The document discusses cursors in Oracle databases. It defines cursors as temporary work areas for processing query results row by row. There are two main types of cursors - implicit and explicit. Explicit cursors provide more control and involve declaring, opening, fetching from, and closing the cursor. Examples demonstrate using explicit cursors to retrieve and process multiple rows in a PL/SQL block. The document also covers cursor attributes, cursor for loops, parameterized cursors, and comparisons of implicit and explicit cursors.
[Java -lec-5](https://www.slideshare.net/slideshow/java-lec5/140356722)

Java -lec-5
[Zubair Khalid](https://www.slideshare.net/zubairkhalid26)
The document discusses Java's Math and Random classes. It provides examples of how to use common Math class methods like pow(), abs(), ceil(), floor(), max(), min(), and sqrt() to calculate powers, absolute values, rounding, maximum/minimum values, and square roots of numbers. It also shows how to generate random numbers between 0-5 using the Random class's nextInt() method.
[Constructor and Destructor](https://www.slideshare.net/slideshow/constructor-and-destructor-240309783/240309783)

Constructor and Destructor
[Sunipa Bera](https://www.slideshare.net/SunipaBera)
Slide 2: What are the Constructor & destructor ? Slide 3: Characteristics of Constructor Slide 4: Special CHaracteristics of Destructor Slide 5: Similarities Slide 6: Dissimilarities Slides 7: Default Constructor with example Slide 8: Parameterized Constructor Slide 9: Copy Constructor with example Slide 10: Destructor Slide 11: Bibliography
[Regular expressions in Python](https://www.slideshare.net/sujithkumar9212301/regular-expressions-in-python-37231829)

Regular expressions in Python
[Sujith Kumar](https://www.slideshare.net/sujithkumar9212301)
Regular expressions are a powerful tool for searching, matching, and parsing text patterns. They allow complex text patterns to be matched with a standardized syntax. All modern programming languages include regular expression libraries. Regular expressions can be used to search strings, replace parts of strings, split strings, and find all occurrences of a pattern in a string. They are useful for tasks like validating formats, parsing text, and finding/replacing text. This document provides examples of common regular expression patterns and methods for using regular expressions in Python.
[Ms sql-server](https://www.slideshare.net/slideshow/ms-sqlserver/45036871)

Ms sql-server
[Md.Mojibul Hoque](https://www.slideshare.net/MdMojibulHoque)
MS SQL SERVER IS Database Management System created by Microsoft Corporation. This slide shortly describe MS SQL SERVER common functionality.
[Java: Regular Expression](https://www.slideshare.net/slideshow/java-regular-expression/29328624)

Java: Regular Expression
[Masudul Haque](https://www.slideshare.net/masud_cse_05)
This document provides an overview of regular expressions and how they work with patterns and matchers in Java. It defines what a regular expression is, lists common uses of regex, and describes how to create patterns, use matchers to interpret patterns and perform matches, and handle exceptions. It also covers regex syntax like metacharacters, character classes, quantifiers, boundaries, and flags. Finally, it discusses capturing groups, backreferences, index methods, study methods, and replacement methods in the Matcher class.
[Sql query \[select, sub\] 4](https://www.slideshare.net/slideshow/sql-query-select-sub-4/10232436)
![Image 73: Sql query [select, sub] 4](https://cdn.slidesharecdn.com/ss_thumbnails/sqlqueryselectsub4-111119075704-phpapp02-thumbnail.jpg?width=560&fit=bounds)![Image 74: Sql query [select, sub] 4](https://cdn.slidesharecdn.com/ss_thumbnails/sqlqueryselectsub4-111119075704-phpapp02-thumbnail.jpg?width=560&fit=bounds)
Sql query \[select, sub\] 4
[Dr. C.V. Suresh Babu](https://www.slideshare.net/anniyappa)
The document provides an overview of Data Query Language (DQL) syntax for SELECT statements including: - Selecting columns from tables - Using column aliases - Filtering rows with the WHERE clause - Working with NULL values - Sorting results with the ORDER BY clause - Grouping rows with the GROUP BY clause and aggregate functions - Filtering groups with the HAVING clause - Sorting on multiple columns - Nested subqueries
[Python Dictionary](https://www.slideshare.net/slideshow/python-dictionary-179719651/179719651)

Python Dictionary
[Soba Arjun](https://www.slideshare.net/ARJUNSB)
A dictionary in Python is an unordered collection of key-value pairs where keys must be unique and immutable. It allows storing and accessing data values using keys. Keys can be of any immutable data type while values can be of any data type. Dictionaries can be created using curly braces {} or the dict() constructor and elements can be added, accessed, updated, or removed using keys. Common dictionary methods include copy(), clear(), pop(), get(), keys(), items(), and update().
[PostgreSQL Tutorial for Beginners | Edureka](https://www.slideshare.net/slideshow/postgresql-tutorial-for-beginners-edureka-210451918/210451918)

PostgreSQL Tutorial for Beginners | Edureka
[Edureka!](https://www.slideshare.net/EdurekaIN)
YouTube Link: https://youtu.be/-VO7YjQeG6Y \*\* MYSQL DBA Certification Training https://www.edureka.co/mysql-dba \*\* This Edureka PPT on PostgreSQL Tutorial For Beginners (blog: http://bit.ly/33GN7jQ) will help you learn PostgreSQL in depth. Follow us to never miss an update in the future. YouTube: https://www.youtube.com/user/edurekaIN Instagram: https://www.instagram.com/edureka\_learning/ Facebook: https://www.facebook.com/edurekaIN/ Twitter: https://twitter.com/edurekain LinkedIn: https://www.linkedin.com/company/edureka Castbox: https://castbox.fm/networks/505?country=in
[Dictionary](https://www.slideshare.net/slideshow/dictionary-238426076/238426076)

Dictionary
[Pooja B S](https://www.slideshare.net/poojashekara)
The document discusses dictionaries in Python. It explains that a dictionary is a collection of unordered key-value pairs where keys must be unique. Keys can be strings, numbers, or tuples, while values can be any data type. Dictionaries allow accessing values using keys. Common dictionary operations include adding/updating items, checking if a key exists, getting values, and looping through keys and key-value pairs. The document also provides examples of using dictionaries to count word frequencies in a text file by parsing and removing punctuation.
[Chapter 4 Structured Query Language](https://www.slideshare.net/slideshow/chapter-4-structured-query-language/52100902)

Chapter 4 Structured Query Language
[Eddyzulham Mahluzydde](https://www.slideshare.net/b15ku7)
Here are the SQL commands for the questions: Q1: SELECT PNAME FROM PROJECT WHERE PLOCATION='Houston'; Q2: SELECT FNAME, LNAME FROM EMPLOYEE WHERE HOURS\>20; Q3: SELECT FNAME, LNAME FROM EMPLOYEE, DEPARTMENT WHERE MGRSSN=SSN;
[DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples](https://www.slideshare.net/slideshow/dml-ddl-dcl-drldql-and-tcl-statements-in-sql-with-examples/57882298)

DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
[LGS, GBHS&IC, University Of South-Asia, TARA-Technologies](https://www.slideshare.net/hmftj)
SQL language includes four primary statement types: DML, DDL, DCL, and TCL. DML statements manipulate data within tables using operations like SELECT, INSERT, UPDATE, and DELETE. DDL statements define and modify database schema using commands like CREATE, ALTER, and DROP. DCL statements control user access privileges with GRANT and REVOKE. TCL statements manage transactions with COMMIT, ROLLBACK, and SAVEPOINT to maintain data integrity.
[CSharp Presentation](https://www.slideshare.net/slideshow/csharp-presentation/8173572)

CSharp Presentation
[Vishwa Mohan](https://www.slideshare.net/cherviralavm)
The document provides an overview of Microsoft Visual C# and C# basics. It covers topics like getting started with a first C# program, data types, operators, control statements, namespaces, objects and types, methods, classes, structs, inheritance, interfaces, polymorphism, arrays, generics, collections, memory management, attributes, exceptions and more. It also discusses C# compiler options, console I/O formatting, comments, and directives.
[09\. Java Methods](https://www.slideshare.net/slideshow/09-java-methods/230654170)

09\. Java Methods
[Intro C# Book](https://www.slideshare.net/introprogramming)
Here we are going to learn how to define and use methods in Java, Furthermore we are going to see what is to overload the methods that we created.
[Java Lambda Expressions.pptx](https://www.slideshare.net/slideshow/java-lambda-expressionspptx/252586748)

Java Lambda Expressions.pptx
[SameerAhmed593310](https://www.slideshare.net/SameerAhmed593310)
Lambda expressions were added in Java 8 as a way to implement functional programming. They allow short, anonymous blocks of code to be passed around as parameters or returned from methods. A lambda expression takes parameters and returns a value without needing a name or class. They provide a concise way to represent method interfaces via expressions and simplify software development by providing implementations for functional interfaces.
[Object oriented programming with python](https://www.slideshare.net/slideshow/object-oriented-programming-with-python/47920738)

Object oriented programming with python
[Arslan Arshad](https://www.slideshare.net/ArslanArshad9)
A short intro to how Object Oriented Paradigm work in Python Programming language. This presentation created for beginner like bachelor student of Computer Science.
[Java arrays](https://www.slideshare.net/slideshow/java-arrays-26971665/26971665)

Java arrays
[Jin Castor](https://www.slideshare.net/jinmike008)
An array allows you to store multiple values of the same type. It is like a spreadsheet with columns. You specify the data type of the array and the number of elements (size). Each element has an index position starting from 0. You can assign values to each position using arrayName\[index\] = value. Arrays make it easy to work with multiple values of the same type.
[20.2 Java inheritance](https://www.slideshare.net/slideshow/202-java-inheritance/230654941)

20.2 Java inheritance
[Intro C# Book](https://www.slideshare.net/introprogramming)
Inheritance allows classes to extend and inherit properties from base classes. This creates class hierarchies where subclasses inherit and can override methods from superclasses. Inheritance promotes code reuse through extension when subclasses share the same role as the base class. Composition and delegation are alternative approaches to code reuse that may be preferable in some cases over inheritance.
[C Language (All Concept)](https://www.slideshare.net/slideshow/c-ppt-45032851/45032851)

C Language (All Concept)
[sachindane](https://www.slideshare.net/sachindane)
The document provides information on the C programming language. It discusses that C was developed by Dennis Ritchie at Bell Labs in 1972 and is a general purpose programming language well suited for business and scientific applications. It describes the basic structure of a C program including sections for links, definitions, variables, functions, and input/output statements. It also covers various C language concepts like data types, operators, decision making statements, looping statements, functions, and more.
[Strings in python](https://www.slideshare.net/slideshow/strings-in-python/123696093)

Strings in python
[Prabhakaran V M](https://www.slideshare.net/PrabhakaranVM1)
The document discusses strings in Python. It describes that strings are immutable sequences of characters that can contain letters, numbers and special characters. It covers built-in string functions like len(), max(), min() for getting the length, maximum and minimum character. It also discusses string slicing, concatenation, formatting, comparison and various string methods for operations like conversion, formatting, searching and stripping whitespace.
[Programming with Python](https://www.slideshare.net/slideshow/programming-with-python-57207587/57207587)

Programming with Python
[Rasan Samarasinghe](https://www.slideshare.net/rasansamarasinghe)
Programming with Python - Delivered along with Certificate in C/C++ Programming - ESOFT Metro Campus (Template - Virtusa Corporate)
[Java Foundations: Arrays](https://www.slideshare.net/slideshow/java-foundations-arrays/250662536)

Java Foundations: Arrays
[Svetlin Nakov](https://www.slideshare.net/nakov)
Learn how to use arrays in Java, how to enter array, how to traverse an array, how to print array and more array operations. Watch the video lesson and access the hands-on exercises here: https://softuni.org/code-lessons/java-foundations-certification-arrays
[arrays-120712074248-phpapp01](https://www.slideshare.net/slideshow/arrays120712074248phpapp01/47180800)

arrays-120712074248-phpapp01
[Abdul Samee](https://www.slideshare.net/abdulsami26)
This document discusses arrays in C#, including declaring and creating arrays, accessing array elements, input and output of arrays, iterating over arrays using for and foreach loops, dynamic arrays using List<T\>, and copying arrays. It provides examples of declaring, initializing, accessing, reversing, and printing arrays. It also covers reading arrays from console input, checking for symmetry, and processing arrays using for and foreach loops. Lists are introduced as a resizable alternative to arrays. The document concludes with exercises for practicing various array techniques.
More Related Content
--------------------
### What's hot (20)
[Java -lec-5](https://www.slideshare.net/slideshow/java-lec5/140356722)

Java -lec-5
[Zubair Khalid](https://www.slideshare.net/zubairkhalid26)
The document discusses Java's Math and Random classes. It provides examples of how to use common Math class methods like pow(), abs(), ceil(), floor(), max(), min(), and sqrt() to calculate powers, absolute values, rounding, maximum/minimum values, and square roots of numbers. It also shows how to generate random numbers between 0-5 using the Random class's nextInt() method.
[Constructor and Destructor](https://www.slideshare.net/slideshow/constructor-and-destructor-240309783/240309783)

Constructor and Destructor
[Sunipa Bera](https://www.slideshare.net/SunipaBera)
Slide 2: What are the Constructor & destructor ? Slide 3: Characteristics of Constructor Slide 4: Special CHaracteristics of Destructor Slide 5: Similarities Slide 6: Dissimilarities Slides 7: Default Constructor with example Slide 8: Parameterized Constructor Slide 9: Copy Constructor with example Slide 10: Destructor Slide 11: Bibliography
[Regular expressions in Python](https://www.slideshare.net/sujithkumar9212301/regular-expressions-in-python-37231829)

Regular expressions in Python
[Sujith Kumar](https://www.slideshare.net/sujithkumar9212301)
Regular expressions are a powerful tool for searching, matching, and parsing text patterns. They allow complex text patterns to be matched with a standardized syntax. All modern programming languages include regular expression libraries. Regular expressions can be used to search strings, replace parts of strings, split strings, and find all occurrences of a pattern in a string. They are useful for tasks like validating formats, parsing text, and finding/replacing text. This document provides examples of common regular expression patterns and methods for using regular expressions in Python.
[Ms sql-server](https://www.slideshare.net/slideshow/ms-sqlserver/45036871)

Ms sql-server
[Md.Mojibul Hoque](https://www.slideshare.net/MdMojibulHoque)
MS SQL SERVER IS Database Management System created by Microsoft Corporation. This slide shortly describe MS SQL SERVER common functionality.
[Java: Regular Expression](https://www.slideshare.net/slideshow/java-regular-expression/29328624)

Java: Regular Expression
[Masudul Haque](https://www.slideshare.net/masud_cse_05)
This document provides an overview of regular expressions and how they work with patterns and matchers in Java. It defines what a regular expression is, lists common uses of regex, and describes how to create patterns, use matchers to interpret patterns and perform matches, and handle exceptions. It also covers regex syntax like metacharacters, character classes, quantifiers, boundaries, and flags. Finally, it discusses capturing groups, backreferences, index methods, study methods, and replacement methods in the Matcher class.
[Sql query \[select, sub\] 4](https://www.slideshare.net/slideshow/sql-query-select-sub-4/10232436)
![Image 117: Sql query [select, sub] 4](https://cdn.slidesharecdn.com/ss_thumbnails/sqlqueryselectsub4-111119075704-phpapp02-thumbnail.jpg?width=560&fit=bounds)![Image 118: Sql query [select, sub] 4](https://cdn.slidesharecdn.com/ss_thumbnails/sqlqueryselectsub4-111119075704-phpapp02-thumbnail.jpg?width=560&fit=bounds)
Sql query \[select, sub\] 4
[Dr. C.V. Suresh Babu](https://www.slideshare.net/anniyappa)
The document provides an overview of Data Query Language (DQL) syntax for SELECT statements including: - Selecting columns from tables - Using column aliases - Filtering rows with the WHERE clause - Working with NULL values - Sorting results with the ORDER BY clause - Grouping rows with the GROUP BY clause and aggregate functions - Filtering groups with the HAVING clause - Sorting on multiple columns - Nested subqueries
[Python Dictionary](https://www.slideshare.net/slideshow/python-dictionary-179719651/179719651)

Python Dictionary
[Soba Arjun](https://www.slideshare.net/ARJUNSB)
A dictionary in Python is an unordered collection of key-value pairs where keys must be unique and immutable. It allows storing and accessing data values using keys. Keys can be of any immutable data type while values can be of any data type. Dictionaries can be created using curly braces {} or the dict() constructor and elements can be added, accessed, updated, or removed using keys. Common dictionary methods include copy(), clear(), pop(), get(), keys(), items(), and update().
[PostgreSQL Tutorial for Beginners | Edureka](https://www.slideshare.net/slideshow/postgresql-tutorial-for-beginners-edureka-210451918/210451918)

PostgreSQL Tutorial for Beginners | Edureka
[Edureka!](https://www.slideshare.net/EdurekaIN)
YouTube Link: https://youtu.be/-VO7YjQeG6Y \*\* MYSQL DBA Certification Training https://www.edureka.co/mysql-dba \*\* This Edureka PPT on PostgreSQL Tutorial For Beginners (blog: http://bit.ly/33GN7jQ) will help you learn PostgreSQL in depth. Follow us to never miss an update in the future. YouTube: https://www.youtube.com/user/edurekaIN Instagram: https://www.instagram.com/edureka\_learning/ Facebook: https://www.facebook.com/edurekaIN/ Twitter: https://twitter.com/edurekain LinkedIn: https://www.linkedin.com/company/edureka Castbox: https://castbox.fm/networks/505?country=in
[Dictionary](https://www.slideshare.net/slideshow/dictionary-238426076/238426076)

Dictionary
[Pooja B S](https://www.slideshare.net/poojashekara)
The document discusses dictionaries in Python. It explains that a dictionary is a collection of unordered key-value pairs where keys must be unique. Keys can be strings, numbers, or tuples, while values can be any data type. Dictionaries allow accessing values using keys. Common dictionary operations include adding/updating items, checking if a key exists, getting values, and looping through keys and key-value pairs. The document also provides examples of using dictionaries to count word frequencies in a text file by parsing and removing punctuation.
[Chapter 4 Structured Query Language](https://www.slideshare.net/slideshow/chapter-4-structured-query-language/52100902)

Chapter 4 Structured Query Language
[Eddyzulham Mahluzydde](https://www.slideshare.net/b15ku7)
Here are the SQL commands for the questions: Q1: SELECT PNAME FROM PROJECT WHERE PLOCATION='Houston'; Q2: SELECT FNAME, LNAME FROM EMPLOYEE WHERE HOURS\>20; Q3: SELECT FNAME, LNAME FROM EMPLOYEE, DEPARTMENT WHERE MGRSSN=SSN;
[DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples](https://www.slideshare.net/slideshow/dml-ddl-dcl-drldql-and-tcl-statements-in-sql-with-examples/57882298)

DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
[LGS, GBHS&IC, University Of South-Asia, TARA-Technologies](https://www.slideshare.net/hmftj)
SQL language includes four primary statement types: DML, DDL, DCL, and TCL. DML statements manipulate data within tables using operations like SELECT, INSERT, UPDATE, and DELETE. DDL statements define and modify database schema using commands like CREATE, ALTER, and DROP. DCL statements control user access privileges with GRANT and REVOKE. TCL statements manage transactions with COMMIT, ROLLBACK, and SAVEPOINT to maintain data integrity.
[CSharp Presentation](https://www.slideshare.net/slideshow/csharp-presentation/8173572)

CSharp Presentation
[Vishwa Mohan](https://www.slideshare.net/cherviralavm)
The document provides an overview of Microsoft Visual C# and C# basics. It covers topics like getting started with a first C# program, data types, operators, control statements, namespaces, objects and types, methods, classes, structs, inheritance, interfaces, polymorphism, arrays, generics, collections, memory management, attributes, exceptions and more. It also discusses C# compiler options, console I/O formatting, comments, and directives.
[09\. Java Methods](https://www.slideshare.net/slideshow/09-java-methods/230654170)

09\. Java Methods
[Intro C# Book](https://www.slideshare.net/introprogramming)
Here we are going to learn how to define and use methods in Java, Furthermore we are going to see what is to overload the methods that we created.
[Java Lambda Expressions.pptx](https://www.slideshare.net/slideshow/java-lambda-expressionspptx/252586748)

Java Lambda Expressions.pptx
[SameerAhmed593310](https://www.slideshare.net/SameerAhmed593310)
Lambda expressions were added in Java 8 as a way to implement functional programming. They allow short, anonymous blocks of code to be passed around as parameters or returned from methods. A lambda expression takes parameters and returns a value without needing a name or class. They provide a concise way to represent method interfaces via expressions and simplify software development by providing implementations for functional interfaces.
[Object oriented programming with python](https://www.slideshare.net/slideshow/object-oriented-programming-with-python/47920738)

Object oriented programming with python
[Arslan Arshad](https://www.slideshare.net/ArslanArshad9)
A short intro to how Object Oriented Paradigm work in Python Programming language. This presentation created for beginner like bachelor student of Computer Science.
[Java arrays](https://www.slideshare.net/slideshow/java-arrays-26971665/26971665)

Java arrays
[Jin Castor](https://www.slideshare.net/jinmike008)
An array allows you to store multiple values of the same type. It is like a spreadsheet with columns. You specify the data type of the array and the number of elements (size). Each element has an index position starting from 0. You can assign values to each position using arrayName\[index\] = value. Arrays make it easy to work with multiple values of the same type.
[20.2 Java inheritance](https://www.slideshare.net/slideshow/202-java-inheritance/230654941)

20.2 Java inheritance
[Intro C# Book](https://www.slideshare.net/introprogramming)
Inheritance allows classes to extend and inherit properties from base classes. This creates class hierarchies where subclasses inherit and can override methods from superclasses. Inheritance promotes code reuse through extension when subclasses share the same role as the base class. Composition and delegation are alternative approaches to code reuse that may be preferable in some cases over inheritance.
[C Language (All Concept)](https://www.slideshare.net/slideshow/c-ppt-45032851/45032851)

C Language (All Concept)
[sachindane](https://www.slideshare.net/sachindane)
The document provides information on the C programming language. It discusses that C was developed by Dennis Ritchie at Bell Labs in 1972 and is a general purpose programming language well suited for business and scientific applications. It describes the basic structure of a C program including sections for links, definitions, variables, functions, and input/output statements. It also covers various C language concepts like data types, operators, decision making statements, looping statements, functions, and more.
[Strings in python](https://www.slideshare.net/slideshow/strings-in-python/123696093)

Strings in python
[Prabhakaran V M](https://www.slideshare.net/PrabhakaranVM1)
The document discusses strings in Python. It describes that strings are immutable sequences of characters that can contain letters, numbers and special characters. It covers built-in string functions like len(), max(), min() for getting the length, maximum and minimum character. It also discusses string slicing, concatenation, formatting, comparison and various string methods for operations like conversion, formatting, searching and stripping whitespace.
[Programming with Python](https://www.slideshare.net/slideshow/programming-with-python-57207587/57207587)

Programming with Python
[Rasan Samarasinghe](https://www.slideshare.net/rasansamarasinghe)
Programming with Python - Delivered along with Certificate in C/C++ Programming - ESOFT Metro Campus (Template - Virtusa Corporate)
[Java -lec-5](https://www.slideshare.net/slideshow/java-lec5/140356722)

Java -lec-5
[Zubair Khalid](https://www.slideshare.net/zubairkhalid26)
[Constructor and Destructor](https://www.slideshare.net/slideshow/constructor-and-destructor-240309783/240309783)

Constructor and Destructor
[Sunipa Bera](https://www.slideshare.net/SunipaBera)
[Regular expressions in Python](https://www.slideshare.net/sujithkumar9212301/regular-expressions-in-python-37231829)

Regular expressions in Python
[Sujith Kumar](https://www.slideshare.net/sujithkumar9212301)
[Ms sql-server](https://www.slideshare.net/slideshow/ms-sqlserver/45036871)

Ms sql-server
[Md.Mojibul Hoque](https://www.slideshare.net/MdMojibulHoque)
[Java: Regular Expression](https://www.slideshare.net/slideshow/java-regular-expression/29328624)

Java: Regular Expression
[Masudul Haque](https://www.slideshare.net/masud_cse_05)
[Sql query \[select, sub\] 4](https://www.slideshare.net/slideshow/sql-query-select-sub-4/10232436)
![Image 157: Sql query [select, sub] 4](https://cdn.slidesharecdn.com/ss_thumbnails/sqlqueryselectsub4-111119075704-phpapp02-thumbnail.jpg?width=560&fit=bounds)![Image 158: Sql query [select, sub] 4](https://cdn.slidesharecdn.com/ss_thumbnails/sqlqueryselectsub4-111119075704-phpapp02-thumbnail.jpg?width=560&fit=bounds)
Sql query \[select, sub\] 4
[Dr. C.V. Suresh Babu](https://www.slideshare.net/anniyappa)
[Python Dictionary](https://www.slideshare.net/slideshow/python-dictionary-179719651/179719651)

Python Dictionary
[Soba Arjun](https://www.slideshare.net/ARJUNSB)
[PostgreSQL Tutorial for Beginners | Edureka](https://www.slideshare.net/slideshow/postgresql-tutorial-for-beginners-edureka-210451918/210451918)

PostgreSQL Tutorial for Beginners | Edureka
[Edureka!](https://www.slideshare.net/EdurekaIN)
[Dictionary](https://www.slideshare.net/slideshow/dictionary-238426076/238426076)

Dictionary
[Pooja B S](https://www.slideshare.net/poojashekara)
[Chapter 4 Structured Query Language](https://www.slideshare.net/slideshow/chapter-4-structured-query-language/52100902)

Chapter 4 Structured Query Language
[Eddyzulham Mahluzydde](https://www.slideshare.net/b15ku7)
[DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples](https://www.slideshare.net/slideshow/dml-ddl-dcl-drldql-and-tcl-statements-in-sql-with-examples/57882298)

DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
[LGS, GBHS&IC, University Of South-Asia, TARA-Technologies](https://www.slideshare.net/hmftj)
[CSharp Presentation](https://www.slideshare.net/slideshow/csharp-presentation/8173572)

CSharp Presentation
[Vishwa Mohan](https://www.slideshare.net/cherviralavm)
[09\. Java Methods](https://www.slideshare.net/slideshow/09-java-methods/230654170)

09\. Java Methods
[Intro C# Book](https://www.slideshare.net/introprogramming)
[Java Lambda Expressions.pptx](https://www.slideshare.net/slideshow/java-lambda-expressionspptx/252586748)

Java Lambda Expressions.pptx
[SameerAhmed593310](https://www.slideshare.net/SameerAhmed593310)
[Object oriented programming with python](https://www.slideshare.net/slideshow/object-oriented-programming-with-python/47920738)

Object oriented programming with python
[Arslan Arshad](https://www.slideshare.net/ArslanArshad9)
[Java arrays](https://www.slideshare.net/slideshow/java-arrays-26971665/26971665)

Java arrays
[Jin Castor](https://www.slideshare.net/jinmike008)
[20.2 Java inheritance](https://www.slideshare.net/slideshow/202-java-inheritance/230654941)

20.2 Java inheritance
[Intro C# Book](https://www.slideshare.net/introprogramming)
[C Language (All Concept)](https://www.slideshare.net/slideshow/c-ppt-45032851/45032851)

C Language (All Concept)
[sachindane](https://www.slideshare.net/sachindane)
[Strings in python](https://www.slideshare.net/slideshow/strings-in-python/123696093)

Strings in python
[Prabhakaran V M](https://www.slideshare.net/PrabhakaranVM1)
[Programming with Python](https://www.slideshare.net/slideshow/programming-with-python-57207587/57207587)

Programming with Python
[Rasan Samarasinghe](https://www.slideshare.net/rasansamarasinghe)
### Similar to 07. Arrays (20)
[Java Foundations: Arrays](https://www.slideshare.net/slideshow/java-foundations-arrays/250662536)

Java Foundations: Arrays
[Svetlin Nakov](https://www.slideshare.net/nakov)
Learn how to use arrays in Java, how to enter array, how to traverse an array, how to print array and more array operations. Watch the video lesson and access the hands-on exercises here: https://softuni.org/code-lessons/java-foundations-certification-arrays
[arrays-120712074248-phpapp01](https://www.slideshare.net/slideshow/arrays120712074248phpapp01/47180800)

arrays-120712074248-phpapp01
[Abdul Samee](https://www.slideshare.net/abdulsami26)
This document discusses arrays in C#, including declaring and creating arrays, accessing array elements, input and output of arrays, iterating over arrays using for and foreach loops, dynamic arrays using List<T\>, and copying arrays. It provides examples of declaring, initializing, accessing, reversing, and printing arrays. It also covers reading arrays from console input, checking for symmetry, and processing arrays using for and foreach loops. Lists are introduced as a resizable alternative to arrays. The document concludes with exercises for practicing various array techniques.
[05\_Arrays C plus Programming language22.pdf](https://www.slideshare.net/slideshow/05_arrays-c-plus-programming-language22-pdf/272571785)

05\_Arrays C plus Programming language22.pdf
[bodzzaa21](https://www.slideshare.net/bodzzaa21)
C++
[Chapter 22. Lambda Expressions and LINQ](https://www.slideshare.net/slideshow/chapter-22-lambda-expressions-and-linq/230464552)

Chapter 22. Lambda Expressions and LINQ
[Intro C# Book](https://www.slideshare.net/introprogramming)
In this chapter we will become acquainted with some of the advanced capabilities of the C# language. To be more specific, we will pay attention on how to make queries to collections, using lambda expressions and LINQ, and how to add functionality to already created classes, using extension methods. We will get to know the anonymous types, describe their usage briefly and discuss lambda expressions and show in practice how most of the built-in lambda functions work. Afterwards, we will pay more attention to the LINQ syntax we will learn what it is, how it works and what queries we can build with it. In the end, we will get to know the meaning of the keywords in LINQ, and demonstrate their capabilities with lots of examples.
[ch07-arrays.ppt](https://www.slideshare.net/slideshow/ch07arraysppt/254975202)

ch07-arrays.ppt
[Mahyuddin8](https://www.slideshare.net/Mahyuddin8)
This document provides an overview of arrays in Java, including how to declare, initialize, access, and manipulate array elements. It discusses key array concepts like indexes, the length field, and for loops for traversing arrays. Examples are provided for common array operations like initialization, accessing elements, and passing arrays as parameters or returning them from methods. Limitations of arrays are also covered.
[Chap 6 c++](https://www.slideshare.net/slideshow/chap-6-c-250523540/250523540)

Chap 6 c++
[Venkateswarlu Vuggam](https://www.slideshare.net/VenkateswarluVuggam)
This document discusses arrays and pointers in C++. It begins by explaining that arrays allow storing multiple values of the same type, and that arrays have a fixed size and type after declaration. It then covers how to declare, initialize, access elements of, and iterate through arrays using indexes and loops. Multidimensional arrays are also explained, including how they can be thought of as tables with rows and columns. The document concludes by introducing pointers as variables that store the memory addresses of other variables.
[Chap 6 c++](https://www.slideshare.net/slideshow/chap-6-c/250523533)

Chap 6 c++
[Venkateswarlu Vuggam](https://www.slideshare.net/VenkateswarluVuggam)
The document provides information about arrays and pointers in C++. It discusses how to declare, initialize, access elements of arrays including multi-dimensional arrays. It also covers pointers, how they store memory addresses rather than values, and how to declare and assign addresses to pointers. Key topics include declaring arrays with syntax like dataType arrayName\[size\]; initializing arrays; accessing elements using indices; multi-dimensional arrays of different sizes; declaring pointers with syntax like int\* pointer; and assigning addresses to pointers using &operator.
[CP PPT\_Unit IV computer programming in c.pdf](https://www.slideshare.net/slideshow/cp-pptunit-iv-computer-programming-in-cpdf/267716412)

CP PPT\_Unit IV computer programming in c.pdf
[saneshgamerz](https://www.slideshare.net/saneshgamerz)
Jaja
[R Programming Intro](https://www.slideshare.net/slideshow/r-programming-intro/253263017)

R Programming Intro
[062MayankSinghal](https://www.slideshare.net/062MayankSinghal)
A matrix is a two-dimensional rectangular data structure that can be created in R using a vector as input to the matrix function. The matrix function arranges the vector elements into rows and columns based on the number of rows and columns specified. Basic matrix operations include accessing individual elements and submatrices, computing transposes, products, and inverses. Matrices allow efficient storage and manipulation of multi-dimensional data.
[07 Arrays](https://www.slideshare.net/slideshow/07-arrays-38449155/38449155)

07 Arrays
[maznabili](https://www.slideshare.net/maznabili)
Arrays are sequences of elements of the same type that can be accessed using an index. Multidimensional arrays have more than one index and are used to represent matrices. Dynamic arrays like lists can resize automatically when elements are added or removed. Common operations on arrays include initialization, accessing elements, iterating with for/foreach loops, and copying arrays.
[Numerical tour in the Python eco-system: Python, NumPy, scikit-learn](https://www.slideshare.net/slideshow/slides-39833610/39833610)

Numerical tour in the Python eco-system: Python, NumPy, scikit-learn
[Arnaud Joly](https://www.slideshare.net/arjoly)
We first present the Python programming language and the NumPy package for scientific computing. Then, we devise a digit recognition system highlighting the scikit-learn package.
[Arraysnklkjjkknlnlknnjlnjljljkjnjkjn.docx](https://www.slideshare.net/slideshow/arraysnklkjjkknlnlknnjlnjljljkjnjkjn-docx/275239080)

Arraysnklkjjkknlnlknnjlnjljljkjnjkjn.docx
[pranauvsps](https://www.slideshare.net/pranauvsps)
klkl
[Algorithms with-java-advanced-1.0](https://www.slideshare.net/slideshow/algorithms-withjavaadvanced10/5461321)

Algorithms with-java-advanced-1.0
[BG Java EE Course](https://www.slideshare.net/bgjeecourse)
The document discusses algorithms and their use for solving problems expressed as a sequence of steps. It provides examples of common algorithms like sorting and searching arrays, and analyzing their time and space complexity. Specific sorting algorithms like bubble sort, insertion sort, and quick sort are explained with pseudocode examples. Permutations, combinations and variations as examples of combinatorial algorithms are also covered briefly.
[Arrays (Lists) in Python................](https://www.slideshare.net/slideshow/arrays-lists-in-python-8754/270202513)

Arrays (Lists) in Python................
[saulHS1](https://www.slideshare.net/saulHS1)
Arrays (Lists) in Python
[Unit 3](https://www.slideshare.net/slideshow/unit-3-240664860/240664860)

Unit 3
[GOWSIKRAJAP](https://www.slideshare.net/GOWSIKRAJAP)
The document discusses arrays, strings, and functions in C programming. It begins by explaining how to initialize and access 2D arrays, including examples of declaring and initializing a 2D integer array and adding elements of two 2D arrays. It also covers initializing and accessing multidimensional arrays. The document then discusses string basics like declaration and initialization of character arrays that represent strings. It explains various string functions like strlen(), strcat(), strcmp(). Finally, it covers functions in C including declaration, definition, call by value vs reference, and passing arrays to functions.
[LECTURE 3 LOOPS, ARRAYS.pdf](https://www.slideshare.net/slideshow/lecture-3-loops-arrayspdf/253023364)

LECTURE 3 LOOPS, ARRAYS.pdf
[SHASHIKANT346021](https://www.slideshare.net/SHASHIKANT346021)
This document provides information about an intro to Java programming course including loops, arrays, and good programming style. It discusses calculating employee pay using loops and conditional logic. It also covers frequent programming issues like invalid method signatures and variable scopes. The document then explains loops, arrays, and combining them. It provides examples of using while, for, and nested loops. It also demonstrates declaring, initializing, and accessing array elements as well as looping through arrays. Finally, it discusses programming style guidelines and provides an assignment on analyzing marathon race results.
[LECTURE 3 LOOPS, ARRAYS.pdf](https://www.slideshare.net/ShashikantSathe3/lecture-3-loops-arrayspdf-253271039)

LECTURE 3 LOOPS, ARRAYS.pdf
[ShashikantSathe3](https://www.slideshare.net/ShashikantSathe3)
This document provides information about loops, arrays, and good programming style from a course on introductory Java programming. It discusses the following key points: 1. Loops like while and for can be used to repeat blocks of code. Common loop issues like infinite loops and off-by-one errors are addressed. 2. Arrays provide a way to store and access multiple values of the same type. Arrays have a length property and values can be accessed using indexes. 3. Good programming style makes code more readable through use of indentation, whitespace, and meaningful names. Duplicated checks should be avoided. The document concludes with an assignment to find the best and second best performers from
[C (PPS)Programming for problem solving.pptx](https://www.slideshare.net/slideshow/c-ppsprogramming-for-problem-solvingpptx/267398138)

C (PPS)Programming for problem solving.pptx
[rohinitalekar1](https://www.slideshare.net/rohinitalekar1)
Programming for problem solving
[CE344L-200365-Lab2.pdf](https://www.slideshare.net/slideshow/ce344l200365lab2pdf/257946715)

CE344L-200365-Lab2.pdf
[UmarMustafa13](https://www.slideshare.net/UmarMustafa13)
This document provides an overview of NumPy arrays, including how to create and manipulate vectors (1D arrays) and matrices (2D arrays). It discusses NumPy data types and shapes, and how to index, slice, and perform common operations on arrays like summation, multiplication, and dot products. It also compares the performance of vectorized NumPy operations versus equivalent Python for loops.
[C sharp chap6](https://www.slideshare.net/slideshow/c-sharp-chap6/8278098)

C sharp chap6
[Mukesh Tekwani](https://www.slideshare.net/mukeshnt)
1\. An array is a collection of variables of the same type that are referred to by a common name. Arrays provide a convenient way of grouping related data of the same type. 2. Arrays organize data in a way that allows for easy manipulation and sorting of elements. Declaring data as an array is more elegant than declaring many individual variables when multiple pieces of related data are involved. 3. C# supports one-dimensional and multi-dimensional arrays. Elements in arrays are accessed using an index. Arrays are zero-indexed and bounds checked to prevent errors. The Length property provides the size of the array.
[Java Foundations: Arrays](https://www.slideshare.net/slideshow/java-foundations-arrays/250662536)

Java Foundations: Arrays
[Svetlin Nakov](https://www.slideshare.net/nakov)
[arrays-120712074248-phpapp01](https://www.slideshare.net/slideshow/arrays120712074248phpapp01/47180800)

arrays-120712074248-phpapp01
[Abdul Samee](https://www.slideshare.net/abdulsami26)
[05\_Arrays C plus Programming language22.pdf](https://www.slideshare.net/slideshow/05_arrays-c-plus-programming-language22-pdf/272571785)

05\_Arrays C plus Programming language22.pdf
[bodzzaa21](https://www.slideshare.net/bodzzaa21)
[Chapter 22. Lambda Expressions and LINQ](https://www.slideshare.net/slideshow/chapter-22-lambda-expressions-and-linq/230464552)

Chapter 22. Lambda Expressions and LINQ
[Intro C# Book](https://www.slideshare.net/introprogramming)
[ch07-arrays.ppt](https://www.slideshare.net/slideshow/ch07arraysppt/254975202)

ch07-arrays.ppt
[Mahyuddin8](https://www.slideshare.net/Mahyuddin8)
[Chap 6 c++](https://www.slideshare.net/slideshow/chap-6-c-250523540/250523540)

Chap 6 c++
[Venkateswarlu Vuggam](https://www.slideshare.net/VenkateswarluVuggam)
[Chap 6 c++](https://www.slideshare.net/slideshow/chap-6-c/250523533)

Chap 6 c++
[Venkateswarlu Vuggam](https://www.slideshare.net/VenkateswarluVuggam)
[CP PPT\_Unit IV computer programming in c.pdf](https://www.slideshare.net/slideshow/cp-pptunit-iv-computer-programming-in-cpdf/267716412)

CP PPT\_Unit IV computer programming in c.pdf
[saneshgamerz](https://www.slideshare.net/saneshgamerz)
[R Programming Intro](https://www.slideshare.net/slideshow/r-programming-intro/253263017)

R Programming Intro
[062MayankSinghal](https://www.slideshare.net/062MayankSinghal)
[07 Arrays](https://www.slideshare.net/slideshow/07-arrays-38449155/38449155)

07 Arrays
[maznabili](https://www.slideshare.net/maznabili)
[Numerical tour in the Python eco-system: Python, NumPy, scikit-learn](https://www.slideshare.net/slideshow/slides-39833610/39833610)

Numerical tour in the Python eco-system: Python, NumPy, scikit-learn
[Arnaud Joly](https://www.slideshare.net/arjoly)
[Arraysnklkjjkknlnlknnjlnjljljkjnjkjn.docx](https://www.slideshare.net/slideshow/arraysnklkjjkknlnlknnjlnjljljkjnjkjn-docx/275239080)

Arraysnklkjjkknlnlknnjlnjljljkjnjkjn.docx
[pranauvsps](https://www.slideshare.net/pranauvsps)
[Algorithms with-java-advanced-1.0](https://www.slideshare.net/slideshow/algorithms-withjavaadvanced10/5461321)

Algorithms with-java-advanced-1.0
[BG Java EE Course](https://www.slideshare.net/bgjeecourse)
[Arrays (Lists) in Python................](https://www.slideshare.net/slideshow/arrays-lists-in-python-8754/270202513)

Arrays (Lists) in Python................
[saulHS1](https://www.slideshare.net/saulHS1)
[Unit 3](https://www.slideshare.net/slideshow/unit-3-240664860/240664860)

Unit 3
[GOWSIKRAJAP](https://www.slideshare.net/GOWSIKRAJAP)
[LECTURE 3 LOOPS, ARRAYS.pdf](https://www.slideshare.net/slideshow/lecture-3-loops-arrayspdf/253023364)

LECTURE 3 LOOPS, ARRAYS.pdf
[SHASHIKANT346021](https://www.slideshare.net/SHASHIKANT346021)
[LECTURE 3 LOOPS, ARRAYS.pdf](https://www.slideshare.net/ShashikantSathe3/lecture-3-loops-arrayspdf-253271039)

LECTURE 3 LOOPS, ARRAYS.pdf
[ShashikantSathe3](https://www.slideshare.net/ShashikantSathe3)
[C (PPS)Programming for problem solving.pptx](https://www.slideshare.net/slideshow/c-ppsprogramming-for-problem-solvingpptx/267398138)

C (PPS)Programming for problem solving.pptx
[rohinitalekar1](https://www.slideshare.net/rohinitalekar1)
[CE344L-200365-Lab2.pdf](https://www.slideshare.net/slideshow/ce344l200365lab2pdf/257946715)

CE344L-200365-Lab2.pdf
[UmarMustafa13](https://www.slideshare.net/UmarMustafa13)
[C sharp chap6](https://www.slideshare.net/slideshow/c-sharp-chap6/8278098)

C sharp chap6
[Mukesh Tekwani](https://www.slideshare.net/mukeshnt)
### More from Intro C# Book (20)
[17\. Java data structures trees representation and traversal](https://www.slideshare.net/slideshow/17-java-data-structures-trees-representation-and-traversal/230721375)

17\. Java data structures trees representation and traversal
[Intro C# Book](https://www.slideshare.net/introprogramming)
In this chapter we will discuss tree data structures, like trees and graphs. The abilities of these data structures are really important for the modern programming. Each of this data structures is used for building a model of real life problems, which are efficiently solved using this model.
[Java Problem solving](https://www.slideshare.net/slideshow/java-problem-solving/230655223)

Java Problem solving
[Intro C# Book](https://www.slideshare.net/introprogramming)
In this chapter we will discuss one recommended practice for efficiently solving computer programming problems and make a demonstration with appropriate examples. We will discuss the basic engineering principles of problem solving, why we should follow them when solving computer programming problems (the same principles can also be applied to find the solutions of many mathematical and scientific problems as well) and we will make an example of their use. We will describe the steps, in which we should go in order to solve some sample problems and show the mistakes that can occur when we do not follow these same steps. We will pay attention to some important steps from the methodology of problem solving, that we usually skip, e.g. the testing. We hope to be able to prove you, with proper examples, that the solving of computer programming problems has a "recipe" and it is very useful.
[21\. Java High Quality Programming Code](https://www.slideshare.net/slideshow/21-java-high-quality-programming-code/230655130)

21\. Java High Quality Programming Code
[Intro C# Book](https://www.slideshare.net/introprogramming)
In this chapter we review the basic rules and recommendations for writing quality program code. We pay attention to naming the identifiers in the program (variables, methods, parameters, classes, etc.), formatting and code organization rules, good practices for composing methods, and principles for writing quality documentation.
[20.5 Java polymorphism](https://www.slideshare.net/slideshow/205-java-polymorphism/230655048)

20.5 Java polymorphism
[Intro C# Book](https://www.slideshare.net/introprogramming)
This document discusses polymorphism, abstract classes, and abstract methods. It defines polymorphism as an object's ability to take on many forms and describes how it allows reference variables to refer to objects of child classes. It also distinguishes between method overloading and overriding, and explains the rules for each. Abstract classes are introduced as classes that cannot be instantiated directly but can be inherited from, and it is noted they may or may not contain abstract methods.
[20.4 Java interfaces and abstraction](https://www.slideshare.net/slideshow/204-java-interfaces-and-abstraction/230655006)

20.4 Java interfaces and abstraction
[Intro C# Book](https://www.slideshare.net/introprogramming)
Here we are going to learn why is a good practice to use interfaces and how they are different from abstraction classes. Further more we are going to see how which one of them to use.
[20.3 Java encapsulation](https://www.slideshare.net/slideshow/203-java-encapsulation/230654984)

20.3 Java encapsulation
[Intro C# Book](https://www.slideshare.net/introprogramming)
Encapsulation provides benefits such as reducing complexity, ensuring structural changes remain local, and allowing for validation and data binding. It works by hiding implementation details and wrapping code and data together. Objects use private fields and public getters/setters for access. Access modifiers like private, protected, and public control visibility. Validation occurs in setters through exceptions. Mutable objects can be modified after creation while immutable objects cannot. The final keyword prevents inheritance, method overriding, or variable reassignment.
[20.1 Java working with abstraction](https://www.slideshare.net/slideshow/201-java-working-with-abstraction/230654902)

20.1 Java working with abstraction
[Intro C# Book](https://www.slideshare.net/introprogramming)
The document discusses various concepts related to abstraction in software development including project architecture, code refactoring, enumerations, and the static keyword in Java. It describes how to split code into logical parts using methods and classes to improve readability, reuse code, and avoid repetition. Refactoring techniques like extracting methods and classes are presented to restructure code without changing behavior. Enumerations are covered as a way to represent numeric values from a fixed set as text. The static keyword is explained for use with classes, variables, methods, and blocks to belong to the class rather than object instances.
[19\. Java data structures algorithms and complexity](https://www.slideshare.net/slideshow/19-java-data-structures-algorithms-and-complexity/230654780)

19\. Java data structures algorithms and complexity
[Intro C# Book](https://www.slideshare.net/introprogramming)
In this chapter we will compare the data structures we have learned so far by the performance (execution speed) of the basic operations (addition, search, deletion, etc.). We will give specific tips in what situations what data structures to use.
[18\. Java associative arrays](https://www.slideshare.net/slideshow/18-java-associative-arrays/230654731)

18\. Java associative arrays
[Intro C# Book](https://www.slideshare.net/introprogramming)
This document discusses collections and queries in Java, including associative arrays (maps), lambda expressions, and the stream API. It provides examples of using maps like HashMap, LinkedHashMap and TreeMap to store key-value pairs. Lambda expressions are introduced as anonymous functions. The stream API is shown processing collections through methods like filter, map, sorted and collect. Examples demonstrate common tasks like finding minimum/maximum values, summing elements, and sorting lists.
[16\. Java stacks and queues](https://www.slideshare.net/slideshow/16-java-stacks-and-queues/230654642)

16\. Java stacks and queues
[Intro C# Book](https://www.slideshare.net/introprogramming)
In this chapter we are going to get familiar with some of the basic presentations of data in programming and linear data structures.
[14\. Java defining classes](https://www.slideshare.net/slideshow/14-java-defining-classes/230654542)

14\. Java defining classes
[Intro C# Book](https://www.slideshare.net/introprogramming)
In this chapter we will understand how to define custom classes and their elements. We will learn to declare fields, constructors and properties for the classes. We will revise what a method is and we will broaden our knowledge about access modifiers and methods.
[13\. Java text processing](https://www.slideshare.net/slideshow/13-java-text-processing/230654491)

13\. Java text processing
[Intro C# Book](https://www.slideshare.net/introprogramming)
In this chapter we will explore strings. We are going to explain how they are implemented in Java and in what way we can process text content. Additionally, we will go through different methods for manipulating a text: we will learn how to compare strings, how to search for substrings, how to extract substrings upon previously settled parameters and last but not least how to split a string by separator chars. We will demonstrate how to correctly build strings with the StringBuilder class. We will provide a short but very useful information for the most commonly used regular expressions.
[12\. Java Exceptions and error handling](https://www.slideshare.net/slideshow/12-java-exceptions-and-error-handling/230654422)

12\. Java Exceptions and error handling
[Intro C# Book](https://www.slideshare.net/introprogramming)
In this chapter we will discuss exceptions in the object-oriented programming and in Java in particular. We will learn how to handle exceptions using the try-catch construct, how to pass them to the calling methods and how to throw standard or our own exceptions using the throw construct.
[11\. Java Objects and classes](https://www.slideshare.net/introprogramming/11-java-objects-and-classes)

11\. Java Objects and classes
[Intro C# Book](https://www.slideshare.net/introprogramming)
In this chapter we are going to get familiar with the basic concepts of object-oriented programming classes and objects
[05\. Java Loops Methods and Classes](https://www.slideshare.net/slideshow/05-java-loops-methods-and-classes/230654038)

05\. Java Loops Methods and Classes
[Intro C# Book](https://www.slideshare.net/introprogramming)
Here we are going to take a look how to use for loop, foreach loop and while loop. Also we are going to learn how to use and invoke methods and how to define classes in Java programming language.
[07\. Java Array, Set and Maps](https://www.slideshare.net/slideshow/06-java-array-set-and-maps/230653957)

07\. Java Array, Set and Maps
[Intro C# Book](https://www.slideshare.net/introprogramming)
This document provides an overview of Java collections basics, including arrays, lists, strings, sets, and maps. It defines each type of collection and provides examples of how to use them. Arrays allow storing fixed-length sequences of elements and can be accessed by index. Lists are like resizable arrays that allow adding, removing and inserting elements using the ArrayList class. Strings represent character sequences and provide various methods for manipulation and comparison. Sets store unique elements using HashSet or TreeSet. Maps store key-value pairs using HashMap or TreeMap.
[03 and 04 .Operators, Expressions, working with the console and conditional s...](https://www.slideshare.net/slideshow/03-operators-and-expressions-230653744/230653744)

03 and 04 .Operators, Expressions, working with the console and conditional s...
[Intro C# Book](https://www.slideshare.net/introprogramming)
The document discusses Java syntax and concepts including: 1. It introduces primitive data types in Java like int, float, boolean and String. 2. It covers variables, operators, and expressions - how they are used to store and manipulate data in Java. 3. It explains console input and output using Scanner and System.out methods for reading user input and printing output. 4. It provides examples of using conditional statements like if and if-else to control program flow based on conditions.
[02\. Data Types and variables](https://www.slideshare.net/slideshow/02-data-types-and-variables/230653432)

02\. Data Types and variables
[Intro C# Book](https://www.slideshare.net/introprogramming)
In this chapter we will get familiar with primitive types and variables in Java what they are and how to work with them. First we will consider the data types integer types, real types with floating-point, Boolean, character, string and object type. We will continue with the variables, with their characteristics, how to declare them, how they are assigned a value and what is variable initialization.
[01\. Introduction to programming with java](https://www.slideshare.net/slideshow/01-introduction-to-programming-with-java/230653185)

01\. Introduction to programming with java
[Intro C# Book](https://www.slideshare.net/introprogramming)
In this chapter we will take a look at the basic programming terminology and we will write our first Java program. We will familiarize ourselves with programming what it means and its connection to computers and programming languages.
[23\. Methodology of Problem Solving](https://www.slideshare.net/slideshow/23-methodology-of-problem-solving/230464595)

23\. Methodology of Problem Solving
[Intro C# Book](https://www.slideshare.net/introprogramming)
In this chapter we will discuss one recommended practice for efficiently solving computer programming problems and make a demonstration with appropriate examples. We will discuss the basic engineering principles of problem solving, why we should follow them when solving computer programming problems (the same principles can also be applied to find the solutions of many mathematical and scientific problems as well) and we will make an example of their use. We will describe the steps, in which we should go in order to solve some sample problems and show the mistakes that can occur when we do not follow these same steps. We will pay attention to some important steps from the methodology of problem solving, that we usually skip, e.g. the testing. We hope to be able to prove you, with proper examples, that the solving of computer programming problems has a "recipe" and it is very useful
[17\. Java data structures trees representation and traversal](https://www.slideshare.net/slideshow/17-java-data-structures-trees-representation-and-traversal/230721375)

17\. Java data structures trees representation and traversal
[Intro C# Book](https://www.slideshare.net/introprogramming)
[Java Problem solving](https://www.slideshare.net/slideshow/java-problem-solving/230655223)

Java Problem solving
[Intro C# Book](https://www.slideshare.net/introprogramming)
[21\. Java High Quality Programming Code](https://www.slideshare.net/slideshow/21-java-high-quality-programming-code/230655130)

21\. Java High Quality Programming Code
[Intro C# Book](https://www.slideshare.net/introprogramming)
[20.5 Java polymorphism](https://www.slideshare.net/slideshow/205-java-polymorphism/230655048)

20.5 Java polymorphism
[Intro C# Book](https://www.slideshare.net/introprogramming)
[20.4 Java interfaces and abstraction](https://www.slideshare.net/slideshow/204-java-interfaces-and-abstraction/230655006)

20.4 Java interfaces and abstraction
[Intro C# Book](https://www.slideshare.net/introprogramming)
[20.3 Java encapsulation](https://www.slideshare.net/slideshow/203-java-encapsulation/230654984)

20.3 Java encapsulation
[Intro C# Book](https://www.slideshare.net/introprogramming)
[20.1 Java working with abstraction](https://www.slideshare.net/slideshow/201-java-working-with-abstraction/230654902)

20.1 Java working with abstraction
[Intro C# Book](https://www.slideshare.net/introprogramming)
[19\. Java data structures algorithms and complexity](https://www.slideshare.net/slideshow/19-java-data-structures-algorithms-and-complexity/230654780)

19\. Java data structures algorithms and complexity
[Intro C# Book](https://www.slideshare.net/introprogramming)
[18\. Java associative arrays](https://www.slideshare.net/slideshow/18-java-associative-arrays/230654731)

18\. Java associative arrays
[Intro C# Book](https://www.slideshare.net/introprogramming)
[16\. Java stacks and queues](https://www.slideshare.net/slideshow/16-java-stacks-and-queues/230654642)

16\. Java stacks and queues
[Intro C# Book](https://www.slideshare.net/introprogramming)
[14\. Java defining classes](https://www.slideshare.net/slideshow/14-java-defining-classes/230654542)

14\. Java defining classes
[Intro C# Book](https://www.slideshare.net/introprogramming)
[13\. Java text processing](https://www.slideshare.net/slideshow/13-java-text-processing/230654491)

13\. Java text processing
[Intro C# Book](https://www.slideshare.net/introprogramming)
[12\. Java Exceptions and error handling](https://www.slideshare.net/slideshow/12-java-exceptions-and-error-handling/230654422)

12\. Java Exceptions and error handling
[Intro C# Book](https://www.slideshare.net/introprogramming)
[11\. Java Objects and classes](https://www.slideshare.net/introprogramming/11-java-objects-and-classes)

11\. Java Objects and classes
[Intro C# Book](https://www.slideshare.net/introprogramming)
[05\. Java Loops Methods and Classes](https://www.slideshare.net/slideshow/05-java-loops-methods-and-classes/230654038)

05\. Java Loops Methods and Classes
[Intro C# Book](https://www.slideshare.net/introprogramming)
[07\. Java Array, Set and Maps](https://www.slideshare.net/slideshow/06-java-array-set-and-maps/230653957)

07\. Java Array, Set and Maps
[Intro C# Book](https://www.slideshare.net/introprogramming)
[03 and 04 .Operators, Expressions, working with the console and conditional s...](https://www.slideshare.net/slideshow/03-operators-and-expressions-230653744/230653744)

03 and 04 .Operators, Expressions, working with the console and conditional s...
[Intro C# Book](https://www.slideshare.net/introprogramming)
[02\. Data Types and variables](https://www.slideshare.net/slideshow/02-data-types-and-variables/230653432)

02\. Data Types and variables
[Intro C# Book](https://www.slideshare.net/introprogramming)
[01\. Introduction to programming with java](https://www.slideshare.net/slideshow/01-introduction-to-programming-with-java/230653185)

01\. Introduction to programming with java
[Intro C# Book](https://www.slideshare.net/introprogramming)
[23\. Methodology of Problem Solving](https://www.slideshare.net/slideshow/23-methodology-of-problem-solving/230464595)

23\. Methodology of Problem Solving
[Intro C# Book](https://www.slideshare.net/introprogramming)
### Recently uploaded (20)
[Lesson-1-Multimedia (1) Explore the principle of interactivity and rich conte...](https://www.slideshare.net/slideshow/lesson-1-multimedia-1-explore-the-principle-of-interactivity-and-rich-content-on-web-2-0/276728330)

Lesson-1-Multimedia (1) Explore the principle of interactivity and rich conte...
[JaneCalzada](https://www.slideshare.net/JaneCalzada)
multimedia
[Viva digitally Innovative Solutions for Seamless Communication.pptx](https://www.slideshare.net/slideshow/viva-digitally-innovative-solutions-for-seamless-communication-pptx/277012929)

Viva digitally Innovative Solutions for Seamless Communication.pptx
[HubraSEO](https://www.slideshare.net/HubraSEO)
Viva Digitally is a leading provider of next-generation voice and data applications, specializing in Cloud Telephony and VoIP services. Established in 2008, the company operates from Chennai and Bangalore, offering a comprehensive suite of services designed to meet the evolving needs of businesses undergoing digital transformation. Key Services: Voice & Collaboration Networking & Connectivity Customer Experience & Contact Center Internet Services Security & Compliance Integrations & Voice APIs With over 15 years of experience and a clientele exceeding 1,000 businesses worldwide, Viva Digitally is recognized for its swift deployment, competitive pricing, and 24/7 support. The company is fully compliant with Department of Telecommunications (DoT) and Telecom Regulatory Authority of India (TRAI) regulations, ensuring reliable and tailored services for businesses of all sizes
[ Managed WordPress Hosting vs. VPS Hosting: Which One is Right for You? ](https://www.slideshare.net/slideshow/managed-wordpress-hosting-vs-vps-hosting-which-one-is-right-for-you/276883347)

Managed WordPress Hosting vs. VPS Hosting: Which One is Right for You?
[steve198109](https://www.slideshare.net/steve198109)
Choosing the right hosting solution can make or break your websites performance, security, and scalability. Managed WordPress Hosting Hassle-free, optimized for WordPress, automatic updates, and top-tier security. Perfect for bloggers, small businesses, and non-tech users! VPS Hosting Dedicated resources, full control, and high scalability. Ideal for developers, growing websites, and businesses needing performance & flexibility. Not sure which to choose? We break it all down in our latest blog!
[Paper: World Game (s) Great Redesign.pdf](https://www.slideshare.net/slideshow/paper-world-game-s-great-redesign-pdf-0ab2/276733210)

Paper: World Game (s) Great Redesign.pdf
[Steven McGee](https://www.slideshare.net/EcoEconomicHeartbeat)
Paper: The Great Redesign of The World Game (s): Equitable, Ethical, Eco Economic Epochs for programmable money, tokenized economy, big data, artificial intelligence , quantum computing.. federation, federated liquidity e.g., the "JP Morgan - Knickerbocker protocol"
[032ssssssssssssssssssssssssssssssssssss024-PBD.pptx](https://www.slideshare.net/slideshow/032ssssssssssssssssssssssssssssssssssss024-pbd-pptx/276896875)

032ssssssssssssssssssssssssssssssssssss024-PBD.pptx
[Anonymoushbl0ek0qdZ](https://www.slideshare.net/Anonymoushbl0ek0qdZ)
fa
[Lecture 2 - Definition and Goals of a Distributed System.ppt](https://www.slideshare.net/slideshow/lecture-2-definition-and-goals-of-a-distributed-system-ppt/276773787)

Lecture 2 - Definition and Goals of a Distributed System.ppt
[KostadinKostadin](https://www.slideshare.net/KostadinKostadin)
hufgytg
[Professional Freelance Digital Marketing Services in Chandigarh.pptx](https://www.slideshare.net/slideshow/professional-freelance-digital-marketing-services-in-chandigarh-pptx/276925095)

Professional Freelance Digital Marketing Services in Chandigarh.pptx
[Professional Freelance Digital Marketing Services in Chandigarh](https://www.slideshare.net/marketingguru989)
A professional freelance digital marketer based in Chandigarh. I specialize in SEO, social media marketing, and paid advertising to help businesses grow their online presence and generate leads. With a data-driven approach, I craft result-oriented strategies tailored to your brands success.
[Top Microblogging Websites for Quick & Engaging Content.docx](https://www.slideshare.net/slideshow/top-microblogging-websites-for-quick-engaging-content-docx/277008183)

Top Microblogging Websites for Quick & Engaging Content.docx
[saeed612311](https://www.slideshare.net/saeed612311)
Microblogging has transformed digital communication, enabling users to share bite-sized content, updates, and multimedia with ease. Whether you're an individual looking to express your thoughts, a business aiming to engage customers, or a content creator seeking to grow your audience, choosing the right platform is key. In this guide, we explore the top microblogging websites that offer unique features for content sharing, community engagement, and real-time interaction. From widely used platforms like Twitter, Tumblr, and Medium to innovative solutions such as Convo Bermuda Unicorn, which redefines microblogging with cutting-edge features, this article provides insights into the best platforms for fast, efficient, and impactful communication. Learn how these platforms cater to different needs, whether for personal branding, business marketing, or niche communities. Whether you seek simplicity, SEO advantages, or interactive tools, find the perfect microblogging platform to enhance your online presence and boost engagement.
[Shift Towards Authentic Social Media Engagement](https://www.slideshare.net/slideshow/shift-towards-authentic-social-media-engagement/276963682)

Shift Towards Authentic Social Media Engagement
[webcooks Digital Academy](https://www.slideshare.net/SEOWEBCOOKS)
The engagement is no longer about choice. Modern social media algorithms prioritize comments, shares and real conversations. Brands should encourage discussion and meaningful interactions to promote material visibility and audience loyalty.
[Lecture 3 - Types of Distributed Systems.ppt](https://www.slideshare.net/slideshow/lecture-3-types-of-distributed-systems-ppt/276773802)

Lecture 3 - Types of Distributed Systems.ppt
[KostadinKostadin](https://www.slideshare.net/KostadinKostadin)
no
[Grand Theft Auto V Crack For PC \[Latest Free\] Free Download](https://www.slideshare.net/slideshow/grand-theft-auto-v-crack-for-pc-latest-free-free-download/276928362)
![Image 367: Grand Theft Auto V Crack For PC [Latest Free] Free Download](https://cdn.slidesharecdn.com/ss_thumbnails/renewableenergy-250319150922-2fef3f83-thumbnail.jpg?width=560&fit=bounds)![Image 368: Grand Theft Auto V Crack For PC [Latest Free] Free Download](https://cdn.slidesharecdn.com/ss_thumbnails/renewableenergy-250319150922-2fef3f83-thumbnail.jpg?width=560&fit=bounds)
Grand Theft Auto V Crack For PC \[Latest Free\] Free Download
[noorkhan1x1](https://www.slideshare.net/noorkhan1x1)
COPY & PASTE LINK https://drfiles.net/ Download GTA 5 PC V4 3DM - How to Install and Play GTA 5 on PC Grand Theft Auto V (GTA 5) is one of the most popular and successful video games of all time.
[HiSTEAM 2nd onwwwwwwwwwwwwwwwwwwwww.pptx](https://www.slideshare.net/slideshow/histeam-2nd-onwwwwwwwwwwwwwwwwwwwww-pptx/276765845)

HiSTEAM 2nd onwwwwwwwwwwwwwwwwwwwww.pptx
[pbhathiwala](https://www.slideshare.net/pbhathiwala)
space 2
[Global Rocket and Missile Market: Trends, Innovations, and Future Outlook](https://www.slideshare.net/slideshow/global-rocket-and-missile-market-trends-innovations-and-future-outlook/276911230)

Global Rocket and Missile Market: Trends, Innovations, and Future Outlook
[meghahiremath253](https://www.slideshare.net/meghahiremath253)
Smart infrastructure refers to the integration of digital technologies, IoT, AI, and data analytics into traditional infrastructure systems to enhance efficiency, sustainability, and connectivity. It includes smart transportation, energy grids, water management, and urban planning solutions that optimize resource usage and improve quality of life.
[From a train to a transit system: enabling self-directed user journeys](https://www.slideshare.net/slideshow/from-a-train-to-a-transit-system-enabling-self-directed-user-journeys/276741099)

From a train to a transit system: enabling self-directed user journeys
[Michael Priestley](https://www.slideshare.net/mpriestley)
Presented at World IA Day Toronto, 2023 When we publish our org chart, the user of our website pays the price: the content they need to complete a journey may be spread across many different parts of a website, or even across different websites for the same company. If instead we organize the website around audience needs and interests, we can accommodate users starting their journey at many different points, and enable them to explore and progress on their own terms. A website organized around audience needs has the potential to improve search rank, engagement, and journey progression, by logically connecting content across the website in ways that both Google and the user can understand and navigate. In this presentation I'll share our rationale, as well as the results of our first steps towards applying a topic-oriented IA to our website.
[Professional Freelance Digital Marketing Services in Chandigarh.pdf](https://www.slideshare.net/slideshow/professional-freelance-digital-marketing-services-in-chandigarh-pdf/276925592)

Professional Freelance Digital Marketing Services in Chandigarh.pdf
[Professional Freelance Digital Marketing Services in Chandigarh](https://www.slideshare.net/marketingguru989)
A professional freelance digital marketer based in Chandigarh. I specialize in SEO, social media marketing, and paid advertising to help businesses grow their online presence and generate leads. With a data-driven approach, I craft result-oriented strategies tailored to your brands success.
[Building a Multiplatform SDKMAN in JavaFX \[JavaOne\]](https://www.slideshare.net/slideshow/building-a-multiplatform-sdkman-in-javafx-javaone/276872316)
![Image 377: Building a Multiplatform SDKMAN in JavaFX [JavaOne]](https://cdn.slidesharecdn.com/ss_thumbnails/buildingamultiplatformsdkmaninjavafx-250318133037-b32ba3b7-thumbnail.jpg?width=560&fit=bounds)![Image 378: Building a Multiplatform SDKMAN in JavaFX [JavaOne]](https://cdn.slidesharecdn.com/ss_thumbnails/buildingamultiplatformsdkmaninjavafx-250318133037-b32ba3b7-thumbnail.jpg?width=560&fit=bounds)
Building a Multiplatform SDKMAN in JavaFX \[JavaOne\]
[Jago de Vreede](https://www.slideshare.net/JagodeVreede1)
SDKMAN is one of the most popular ways to install/upgrade Java or other build tooling on your system. It works great from the command line, but what if you could bring its power to a graphical interface? And what if it worked seamlessly on Windows too? In this talk, we will use SDKMAN as an example of how to build a multiplatform native application using JavaFX for the UI and GraalVM to compile native images. We will dive into the process of creating native apps with GraalVM, distributing them with GitHub, and identifying some limitations of native Java applications. Plus, well explore alternative methods for shipping native apps across platforms. By the end of this session, you will have practical insights on how to build and distribute native apps with or without JavaFX.
[A comprehensive guide to Starlink technology and its availability in Florida.pdf](https://www.slideshare.net/slideshow/a-comprehensive-guide-to-starlink-technology-and-its-availability-in-florida-pdf/276885567)

A comprehensive guide to Starlink technology and its availability in Florida.pdf
[Internet Bundle Now](https://www.slideshare.net/internetbundlenow)
Explore how Internet Bundle Now offers Starlink technology in Florida, its benefits, pricing, and customer service for seamless connectivity in remote areas.
[Summer internship ethical hacking internship presentation](https://www.slideshare.net/slideshow/summer-internship-ethical-hacking-internship-presentation/276795822)

Summer internship ethical hacking internship presentation
[psb9711888453](https://www.slideshare.net/psb9711888453)
Ethical hacking summer internship
[Black Modern Solar System Presentation.pptx](https://www.slideshare.net/slideshow/black-modern-solar-system-presentation-pptx/276778745)

Black Modern Solar System Presentation.pptx
[ssuserc5279b](https://www.slideshare.net/ssuserc5279b)
presentation system solar
[Sccccccccccccccccccccccannig Network.pptx](https://www.slideshare.net/slideshow/sccccccccccccccccccccccannig-network-pptx/276763103)

Sccccccccccccccccccccccannig Network.pptx
[rsi3pfe](https://www.slideshare.net/rsi3pfe)
Hjj
[Lesson-1-Multimedia (1) Explore the principle of interactivity and rich conte...](https://www.slideshare.net/slideshow/lesson-1-multimedia-1-explore-the-principle-of-interactivity-and-rich-content-on-web-2-0/276728330)

Lesson-1-Multimedia (1) Explore the principle of interactivity and rich conte...
[JaneCalzada](https://www.slideshare.net/JaneCalzada)
[Viva digitally Innovative Solutions for Seamless Communication.pptx](https://www.slideshare.net/slideshow/viva-digitally-innovative-solutions-for-seamless-communication-pptx/277012929)

Viva digitally Innovative Solutions for Seamless Communication.pptx
[HubraSEO](https://www.slideshare.net/HubraSEO)
[ Managed WordPress Hosting vs. VPS Hosting: Which One is Right for You? ](https://www.slideshare.net/slideshow/managed-wordpress-hosting-vs-vps-hosting-which-one-is-right-for-you/276883347)

Managed WordPress Hosting vs. VPS Hosting: Which One is Right for You?
[steve198109](https://www.slideshare.net/steve198109)
[Paper: World Game (s) Great Redesign.pdf](https://www.slideshare.net/slideshow/paper-world-game-s-great-redesign-pdf-0ab2/276733210)

Paper: World Game (s) Great Redesign.pdf
[Steven McGee](https://www.slideshare.net/EcoEconomicHeartbeat)
[032ssssssssssssssssssssssssssssssssssss024-PBD.pptx](https://www.slideshare.net/slideshow/032ssssssssssssssssssssssssssssssssssss024-pbd-pptx/276896875)

032ssssssssssssssssssssssssssssssssssss024-PBD.pptx
[Anonymoushbl0ek0qdZ](https://www.slideshare.net/Anonymoushbl0ek0qdZ)
[Lecture 2 - Definition and Goals of a Distributed System.ppt](https://www.slideshare.net/slideshow/lecture-2-definition-and-goals-of-a-distributed-system-ppt/276773787)

Lecture 2 - Definition and Goals of a Distributed System.ppt
[KostadinKostadin](https://www.slideshare.net/KostadinKostadin)
[Professional Freelance Digital Marketing Services in Chandigarh.pptx](https://www.slideshare.net/slideshow/professional-freelance-digital-marketing-services-in-chandigarh-pptx/276925095)

Professional Freelance Digital Marketing Services in Chandigarh.pptx
[Professional Freelance Digital Marketing Services in Chandigarh](https://www.slideshare.net/marketingguru989)
[Top Microblogging Websites for Quick & Engaging Content.docx](https://www.slideshare.net/slideshow/top-microblogging-websites-for-quick-engaging-content-docx/277008183)

Top Microblogging Websites for Quick & Engaging Content.docx
[saeed612311](https://www.slideshare.net/saeed612311)
[Shift Towards Authentic Social Media Engagement](https://www.slideshare.net/slideshow/shift-towards-authentic-social-media-engagement/276963682)

Shift Towards Authentic Social Media Engagement
[webcooks Digital Academy](https://www.slideshare.net/SEOWEBCOOKS)
[Lecture 3 - Types of Distributed Systems.ppt](https://www.slideshare.net/slideshow/lecture-3-types-of-distributed-systems-ppt/276773802)

Lecture 3 - Types of Distributed Systems.ppt
[KostadinKostadin](https://www.slideshare.net/KostadinKostadin)
[Grand Theft Auto V Crack For PC \[Latest Free\] Free Download](https://www.slideshare.net/slideshow/grand-theft-auto-v-crack-for-pc-latest-free-free-download/276928362)
![Image 407: Grand Theft Auto V Crack For PC [Latest Free] Free Download](https://cdn.slidesharecdn.com/ss_thumbnails/renewableenergy-250319150922-2fef3f83-thumbnail.jpg?width=560&fit=bounds)![Image 408: Grand Theft Auto V Crack For PC [Latest Free] Free Download](https://cdn.slidesharecdn.com/ss_thumbnails/renewableenergy-250319150922-2fef3f83-thumbnail.jpg?width=560&fit=bounds)
Grand Theft Auto V Crack For PC \[Latest Free\] Free Download
[noorkhan1x1](https://www.slideshare.net/noorkhan1x1)
[HiSTEAM 2nd onwwwwwwwwwwwwwwwwwwwww.pptx](https://www.slideshare.net/slideshow/histeam-2nd-onwwwwwwwwwwwwwwwwwwwww-pptx/276765845)

HiSTEAM 2nd onwwwwwwwwwwwwwwwwwwwww.pptx
[pbhathiwala](https://www.slideshare.net/pbhathiwala)
[Global Rocket and Missile Market: Trends, Innovations, and Future Outlook](https://www.slideshare.net/slideshow/global-rocket-and-missile-market-trends-innovations-and-future-outlook/276911230)

Global Rocket and Missile Market: Trends, Innovations, and Future Outlook
[meghahiremath253](https://www.slideshare.net/meghahiremath253)
[From a train to a transit system: enabling self-directed user journeys](https://www.slideshare.net/slideshow/from-a-train-to-a-transit-system-enabling-self-directed-user-journeys/276741099)

From a train to a transit system: enabling self-directed user journeys
[Michael Priestley](https://www.slideshare.net/mpriestley)
[Professional Freelance Digital Marketing Services in Chandigarh.pdf](https://www.slideshare.net/slideshow/professional-freelance-digital-marketing-services-in-chandigarh-pdf/276925592)

Professional Freelance Digital Marketing Services in Chandigarh.pdf
[Professional Freelance Digital Marketing Services in Chandigarh](https://www.slideshare.net/marketingguru989)
[Building a Multiplatform SDKMAN in JavaFX \[JavaOne\]](https://www.slideshare.net/slideshow/building-a-multiplatform-sdkman-in-javafx-javaone/276872316)
![Image 417: Building a Multiplatform SDKMAN in JavaFX [JavaOne]](https://cdn.slidesharecdn.com/ss_thumbnails/buildingamultiplatformsdkmaninjavafx-250318133037-b32ba3b7-thumbnail.jpg?width=560&fit=bounds)![Image 418: Building a Multiplatform SDKMAN in JavaFX [JavaOne]](https://cdn.slidesharecdn.com/ss_thumbnails/buildingamultiplatformsdkmaninjavafx-250318133037-b32ba3b7-thumbnail.jpg?width=560&fit=bounds)
Building a Multiplatform SDKMAN in JavaFX \[JavaOne\]
[Jago de Vreede](https://www.slideshare.net/JagodeVreede1)
[A comprehensive guide to Starlink technology and its availability in Florida.pdf](https://www.slideshare.net/slideshow/a-comprehensive-guide-to-starlink-technology-and-its-availability-in-florida-pdf/276885567)

A comprehensive guide to Starlink technology and its availability in Florida.pdf
[Internet Bundle Now](https://www.slideshare.net/internetbundlenow)
[Summer internship ethical hacking internship presentation](https://www.slideshare.net/slideshow/summer-internship-ethical-hacking-internship-presentation/276795822)

Summer internship ethical hacking internship presentation
[psb9711888453](https://www.slideshare.net/psb9711888453)
[Black Modern Solar System Presentation.pptx](https://www.slideshare.net/slideshow/black-modern-solar-system-presentation-pptx/276778745)

Black Modern Solar System Presentation.pptx
[ssuserc5279b](https://www.slideshare.net/ssuserc5279b)
[Sccccccccccccccccccccccannig Network.pptx](https://www.slideshare.net/slideshow/sccccccccccccccccccccccannig-network-pptx/276763103)

Sccccccccccccccccccccccannig Network.pptx
[rsi3pfe](https://www.slideshare.net/rsi3pfe)
07\. Arrays
-----------
* 1\. [Arrays Processing Sequences of](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#1) Elements SoftUni Team Technical Trainers Software University http://softuni.bg
* 2\. [Table of Contents 1.](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#2) Defining, Initializing and Processing Arrays 2. Reading Arrays from the Console Using for Loop to Read Arrays Using String.Split() 3. Printing Arrays at the Console Using the foreach Loop Using String.Join() 4. Arrays Exercises 2
* 3\. [Arrays Working with Arrays](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#3) of Elements
* 4\. [What are Arrays? ](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#4) In programming array is a sequence of elements Elements are numbered from 0 to Length-1 Elements are of the same type (e.g. integers) Arrays have fixed size (Array.Length) cannot be resized 4 0 1 2 3 4 Array of 5 elements Element index Element of an array
* 5\. [5 The days](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#5) of week can be stored in array of strings: Days of Week Example string\[\] days = { "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" }; Expression Value days\[0\] Monday days\[1\] Tuesday days\[2\] Wednesday days\[3\] Thursday days\[4\] Friday days\[5\] Saturday days\[6\] Sunday
* 6\. [6 Enter a](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#6) day number \[17\] and print the day name (in English) or "Invalid day!" Problem: Day of Week string\[\] days = { "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" }; int day = int.Parse(Console.ReadLine()); if (day \>\= 1 && day <\= 7) Console.WriteLine(days\[day - 1\]); else Console.WriteLine("Invalid day!"); Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#0
* 7\. [7 Allocating an](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#7) array of 10 integers: Assigning values to the array elements: Accessing array elements by index: Working with Arrays int\[\] numbers = new int\[10\]; for (int i = 0; i < numbers.Length; i++) numbers\[i\] = 1; numbers\[5\] = numbers\[2\] + numbers\[7\]; numbers\[10\] = 1; // IndexOutOfRangeException All elements are initially == 0 The Length holds the number of array elements The \[\] operator accesses elements by index
* 8\. [8 Write a](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#8) program to find all prime numbers in range \[0n\] Sieve of Eratosthenes algorithm: 1. primes\[0n\] = true 2. primes\[0\] = primes\[1\] = false 3. Find the smallest p, which holds primes\[p\] = true 4. primes\[2\*p\] = primes\[3\*p\] = primes\[4\*p\] = = false 5. Repeat for the next smallest p Problem: Sieve of Eratosthenes
* 9\. [9 Solution: Sieve of](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#9) Eratosthenes var n = int.Parse(Console.ReadLine()); bool\[\] primes = new bool\[n + 1\]; for (int i = 0; i <\= n; i++) primes\[i\] = true; primes\[0\] = primes\[1\] = false; for (int p = 2; p <\= n; p++) if (primes\[p\]) FillPrimes(primes, p); static void FillPrimes(bool\[\] primes, int step) { for (int i = 2 \* step; i < primes.Length; i += step) primes\[i\] = false; } Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#1 TODO: print the calculated prime numbers at the end
* 10\. [10 Enter two](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#10) integers n and k Generate and print the following sequence: The first element is: 1 All other elements = sum of the previous k elements Example: n = 9, k = 5 120 = 4 + 8 + 16 + 31 + 61 Problem: Last K Numbers Sums 6 3 Sequence: 1 1 2 4 7 13 8 2 Sequence: 1 1 2 3 5 8 13 21 9 5 Sequence: 1 1 2 4 8 16 31 61 120 Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#2 1 1 2 4 8 16 31 61 120 +
* 11\. [11 Solution: Last K](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#11) Numbers Sums var n = int.Parse(Console.ReadLine()); var k = int.Parse(Console.ReadLine()); var seq = new long\[n\]; seq\[0\] = 1; for (int current = 1; current < n; current++) { var start = Math.Max(0, current - k); var end = current - 1; long sum = // TODO: sum the values of seq\[start end\] seq\[current\] = sum; } // TODO: print the sequence seq\[\] Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#2
* 12\. [Working with Arrays Live](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#12) Exercises in Class (Lab)
* 13\. [Reading Arrays from](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#13) the Console Using String.Split() and Select()
* 14\. [14 First, read](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#14) from the console the length of the array: Next, create the array of given size n and read its elements: Reading Arrays From the Console int n = int.Parse(Console.ReadLine()); int\[\] arr = new int\[n\]; for (int i = 0; i < n; i++) { arr\[i\] = int.Parse(Console.ReadLine()); }
* 15\. [15 Write a](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#15) program to read n integers and print their sum, min, max, first, last and average values: Problem: Sum, Min, Max, First, Last, Average Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#3 5 12 20 -5 37 8 Sum = 72 Min = -5 Max = 37 First = 12 Last = 8 Average = 14.4 4 50 20 25 40 Sum = 135 Min = 20 Max = 50 First = 50 Last = 40 Average = 33.75
* 16\. [16 Solution: Sum, Min,](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#16) Max, First, Last, Average using System.Linq; var n = int.Parse(Console.ReadLine()); var nums = new int\[n\]; for (int i = 0; i < n; i++) nums\[i\] = int.Parse(Console.ReadLine()); Console.WriteLine("Sum = {0}", nums.Sum()); Console.WriteLine("Min = {0}", nums.Min()); // TODO: print also max, first, last and average values Use System.Linq to enable aggregate functions like .Max() and .Sum() Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#3
* 17\. [17 Arrays can](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#17) be read from a single line of space separated values: Or even write the above as a single line of code: Reading Array Values from a Single Line string values = Console.ReadLine(); string\[\] items = values.Split(' '); int\[\] arr = new int\[items.Length\]; for (int i = 0; i < items.Length; i++) arr\[i\] = int.Parse(items\[i\]); int\[\] arr = Console.ReadLine().Split(' ') .Select(int.Parse).ToArray(); 2 8 30 25 40 72 -2 44 56 string.Split(' ') splits string by space and produces string\[\] Use System.Linq to enable .Select()
* 18\. [18 Write a](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#18) program to read an array of integers and find all triples of elements a, b and c, such that a + b == c (a stays left from b) Problem: Triple Sum (a + b == c) 1 1 1 1 No 4 2 8 6 4 + 2 == 6 2 + 6 == 8 3 1 5 6 1 2 3 + 2 == 5 1 + 5 == 6 1 + 1 == 2 1 + 2 == 3 5 + 1 == 6 1 + 2 == 3 Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#4 2 7 5 0 2 + 5 == 7 2 + 0 == 2 7 + 0 == 7 5 + 0 == 5
* 19\. [19 Solution: Triple Sum](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#19) (a + b == c) Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#4 int\[\] nums = Console.ReadLine().Split(' ') .Select(int.Parse).ToArray(); for (int i = 0; i < nums.Length; i++) for (int j = i + 1; j < nums.Length; j++) { int a = nums\[i\]; int b = nums\[j\]; int sum = a + b; if (nums.Contains(sum)) Console.WriteLine($"{a} + {b} == {sum}"); } TODO: print "No" when no triples are found
* 20\. [Printing Arrays at](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#20) the Console Using foreach and String.Join()
* 21\. [Printing Arrays on](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#21) the Console To print all array elements, a for-loop can be used Separate elements with white space or a new line Example: string\[\] arr = {"one", "two", "three", "four", "five"}; // Process all array elements for (int index = 0; index < arr.Length; index++) { // Print each element on a separate line Console.WriteLine("arr\[{0}\] = {1}", index, arr\[index\]); } 21
* 22\. [22 Problem: Rounding Numbers ](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#22) Read an array of real numbers (space separated values), round them in "away from 0" style and print the output as in the examples: 0.9 1.5 2.4 2.5 3.14 0.9 =\> 1 1.5 =\> 2 2.4 =\> 2 2.5 =\> 3 3.14 =\> 3 Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#5 -5.01 -1.599 -2.5 -1.50 0 -5.01 =\> -5 -1.599 =\> -2 -2.5 =\> -3 -1.50 =\> -2 0 =\> 0
* 23\. [23 Solution: Rounding Numbers ](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#23) Rounding turns each value to the nearest integer What to do when the value is exactly between two integers? Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#5 double\[\] nums = Console.ReadLine() .Split(' ').Select(double.Parse).ToArray(); int\[\] roundedNums = new int\[nums.Length\]; for (int i = 0; i < nums.Length; i++) roundedNums\[i\] = (int) Math.Round(nums\[i\], MidpointRounding.AwayFromZero); for (int i = 0; i < nums.Length; i++) Console.WriteLine($"{nums\[i\]} -\> {roundedNums\[i\]}");
* 24\. [Printing with foreach](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#24) / String.Join() Use foreach-loop: Use string.Join(separator, array): int\[\] arr = { 1, 2, 3 }; Console.WriteLine(string.Join(", ", arr)); // 1, 2, 3 string\[\] strings = { "one", "two", "three", "four" }; Console.WriteLine(string.Join(" - ", strings)); // one - two - three - four 24 int\[\] arr = { 10, 20, 30, 40, 50}; foreach (var element in arr) Console.WriteLine(element)
* 25\. [25 Read an](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#25) array of strings (space separated values), reverse it and print its elements: Reversing array elements: Problem: Reverse Array Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#6 1 2 3 4 5 5 4 3 2 1 -1 20 99 5 5 99 20 -1 1 2 3 4 5 exchange
* 26\. [26 Solution: Reverse Array Check](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#26) your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#6 var nums = Console.ReadLine() .Split(' ').Select(int.Parse).ToArray(); for (int i = 0; i < nums.Length / 2; i++) SwapElements(nums, i, nums.Length - 1 - i); Console.WriteLine(string.Join(" ", nums)); static void SwapElements(int\[\] arr, int i, int j) { var oldElement = arr\[i\]; arr\[i\] = arr\[j\]; arr\[j\] = oldElement; }
* 27\. [27 Another solution](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#27) to the "reverse array" problem: Or even shorter (without parsing strings to numbers): Solution: Reverse Array Functional Style Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#6 Console.WriteLine(string.Join(" ", Console.ReadLine().Split(' ').Select(int.Parse) .Reverse().ToArray())); Console.WriteLine(string.Join(" ", Console.ReadLine().Split(' ').Reverse()));
* 28\. [Reading and Printing](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#28) Arrays Live Exercises in Class (Lab)
* 29\. [Arrays Exercises](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#29)
* 30\. [30 Write a](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#30) program that reads two arrays of integers and sums them When elements are less, duplicate the smaller array a few times Problem: Sum Arrays 1 2 3 4 2 3 4 5 3 5 7 9 Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#7 1 2 3 4 5 2 3 3 5 5 7 7 1 2 3 4 5 2 3 2 3 2 5 4 3 2 3 1 4 7 7 4 9 5 4 3 5 2 3 1 4
* 31\. [31 Solution: Sum Arrays var](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#31) arr1 = Console.ReadLine() .Split(' ').Select(int.Parse).ToArray(); var arr2 = // TODO: read the second array of integers var n = Math.Max(arr1.Length, arr2.Length); var sumArr = new int\[n\]; for (int i = 0; i < n; i++) sumArr\[i\] = arr1\[i % arr1.Length\] + arr2\[i % arr2.Length\]; Console.WriteLine(string.Join(" ", sumArr)); Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#7 Loop the array: end start arr\[len\] arr\[0\] arr\[len+1\] arr\[1\]
* 32\. [32 Reads an](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#32) array of integers and condense them by summing adjacent couples of elements until a single integer is obtained: Problem: Condense Array to Number 2 4 1 2 6 5 3 11 8 19 Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#8 2 10 3 12 13 25 5 0 4 1 2 5 4 5 3 9 9 8 18 17 35
* 33\. [33 Solution: Condense Array](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#33) to Number Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#8 int\[\] nums = Console.ReadLine() .Split(' ').Select(int.Parse).ToArray(); while (nums.Length \> 1) { int\[\] condensed = new int\[nums.Length - 1\]; for (int i = 0; i < nums.Length - 1; i++) condensed\[i\] = // TODO: sum nums nums = condensed; } Console.WriteLine(nums\[0\]); 2 10 3 12 13 0 1 2 nums\[\] : condensed\[\] :
* 34\. [34 Write a](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#34) method to extract the middle 1, 2 or 3 elements from array of n integers n = 1 1 element even n 2 elements odd n 3 elements Read n integers from the console and print the middle elements Problem: Extract Middle 1, 2 or 3 Elements 1 2 3 4 5 6 7 { 3, 4, 5 } 2 3 8 1 7 4 { 8, 1 } 5 { 5 } Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#9 2 8 12 7 3 4 5 33 -2 8 22 4 { 4, 5 }
* 35\. [35 Solution: Extract Middle](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#35) 1, 2 or 3 Elements Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#9 static int\[\] ExtractMiddleElements(int\[\] arr) { int start = arr.Length / 2 - 1; int end = start + 2; if (arr.Length == 1) start = end = 0; else if (arr.Length % 2 == 0) end--; int\[\] mid = new int\[end - start + 1\]; // Copy arr\[start end\] mid\[\] return mid; } 1 2 3 4 5 6 7 start end
* 36\. [36 Read two](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#36) arrays of words and find the length of the largest common end (left or right) Problem: Largest Common End hi php java csharp sql html css js hi php java js softuni nakov java learn 3 hi php java xml csharp sql html css js nakov java sql html css js 4 I love programming Learn Java or C#? 0 Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#10
* 37\. [37 Solution: Largest Common](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#37) End Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#10 static int LargestCommonEnd( string\[\] words1, string\[\] words2) { var rightCount = 0; while (rightCount < words1.Length && rightCount < words2.Length) if (words1\[words1.Length - rightCount - 1\] == words2\[words2.Length - rightCount - 1\]) rightCount++; else break; return rightCount; }
* 38\. [Arrays Exercises Live](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#38) Exercises in Class (Lab)
* 39\. [39 Read an](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#39) array of 4\*k integers, fold it like shown below, and print the sum of the upper and lower rows (2\*k integers): Homework: Fold and Sum 1 2 3 4 5 6 7 8 Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#11 2 1 8 7 3 4 5 6 5 5 13 13 4 3 -1 2 5 0 1 9 8 6 7 -2 -1 3 4 -2 7 6 2 5 0 1 9 8 1 8 4 -1 16 14 5 2 3 6 5 6 2 3 7 9 3 4 5 6 3 4 5 6
* 40\. [40 Read an](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#40) array of n integers and an integer k. Rotate the array right k times and sum the obtained arrays as shown below: Homework: Rotate and Sum Check your solution here: https://judge.softuni.bg/Contests/Practice/Index/172#12 3 2 4 -1 2 -1 3 2 4 4 -1 3 2 3 2 5 6 1 2 3 1 3 1 2 3 1 2 1 2 3 4 5 3 5 1 2 3 4 4 5 1 2 3 3 4 5 1 2 12 10 8 6 9
* 41\. [41 Arrays hold](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#41) sequence of elements Elements are numbered from 0 to length-1 Creating (allocating) an array: Accessing array elements by index: Printing array elements: Summary int\[\] numbers = new int\[10\]; numbers\[5\] = 10; Console.Write(string.Join(" ", arr));
* 42\. [? Arrays https://softuni.bg/courses/programming-basics/](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#42)
* 43\. [License This course](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#43) (slides, examples, demos, videos, homework, etc.) is licensed under the "Creative Commons Attribution- NonCommercial-ShareAlike 4.0 International" license Attribution: this work may contain portions from "Fundamentals of Computer Programming with C#" book by Svetlin Nakov & Co. under CC-BY-SA license 43
* 44\. [Free Trainings @](https://www.slideshare.net/slideshow/07-arrays-230464148/230464148#44) Software University Software University Foundation softuni.org Software University High-Quality Education, Profession and Job for Software Developers softuni.bg Software University @ Facebook facebook.com/SoftwareUniversity Software University @ YouTube youtube.com/SoftwareUniversity Software University Forums forum.softuni.bg
[About](https://www.slideshare.net/about)[Support](https://support.scribd.com/hc/en/categories/360004792932-SlideShare?userType=SlideShare)[Terms](https://support.scribd.com/hc/en/categories/360004792932-SlideShare?userType=SlideShare/articles/210129326-General-Terms-of-Use)[Privacy](https://support.scribd.com/hc/en/categories/360004792932-SlideShare?userType=SlideShare/articles/210129366-Privacy-policy)[Copyright](https://www.slideshare.net/copyright-policy)[Do not sell or share my personal information](https://support.scribd.com/hc/en/articles/360038016931-Privacy-Rights-Request-Form)Cookie Preferences
EnglishCurrent Language
2025 SlideShare from Scribd
[](https://twitter.com/slideshare "Twitter")
[](https://www.slideshare.net/rss/latest "RSS")