PHP and MySQL Tips and tricks, DC 2007Damien Seguy
Like opening a long hidden treasure chest, this session will bring many jewels back to the programming light. We'll cover a number of lesser known PHP function and MySQL functionalities, that will help at daily tasks. They will be applied in various fields, including security, performances, standard compliance and simply fun to program.
The document provides information on arrays, functions, and graphics in PHP. It defines different types of arrays in PHP like indexed/numeric arrays, associative arrays, and multidimensional arrays. It also explains various array functions in PHP like extract(), compact(), implode(), explode(), array_flip(), unset(), sorting arrays, and more. These functions allow manipulating, combining, sorting and extracting data from arrays in PHP.
This document provides PHP tips and tricks summarized in 3 sentences:
It discusses various PHP functions for working with arrays, URLs, variables, objects, output buffering, caching, error handling, and debugging - including array_rand(), parse_url(), compact(), extract(), variable variables, output buffering, auto_prepend caching, and get_debug_backtrace(). The document is presented by Damien Séguy and provides code examples to demonstrate various PHP language features and best practices.
Regular expressions, Session and Cookies by Dr.C.R.Dhivyaa Kongu Engineering ...Dhivyaa C.R
This document provides an overview of regular expressions, sessions, and cookies in PHP. It discusses PHP functions for manipulating arrays, including sorting, merging, reversing, and shuffling arrays. It also covers tokenizing strings using functions like strtok() and explode(), and parsing strings with implode(). The document explains how to use regular expressions in PHP for patterns and string matching. Sessions in PHP allow storing and retrieving user information using session variables, while cookies are small text files stored on a user's device that can be used to remember stateful information.
This document provides an overview of regular expressions, sessions, and cookies in PHP. It discusses PHP functions for manipulating arrays, including sorting, merging, reversing, and randomizing arrays. It also covers tokenizing strings using functions like strtok() and explode(), and parsing strings with implode(). The document explains how to use regular expressions in PHP for pattern matching in strings. Sessions in PHP allow storing and retrieving user data on the server side, while cookies store small amounts of data on the client side.
With over 3400 available built-in function, PHP offers a tremendously rich environment. Yet, some of these functions are still unknown to most programmers. During this session, Damien Seguy will highlight a number of functions that are rarely used in PHP, but are nonetheless useful and available within standard distributions.
This document discusses PHP arrays, including indexed arrays, associative arrays, multi-dimensional arrays, and various functions for manipulating arrays. It covers printing arrays with print_r() and var_dump(), iterating through arrays with foreach loops, unravelling arrays into individual variables using list(), and performing operations like merging, comparing, sorting, and randomizing arrays. A variety of array functions are also described such as count(), is_array(), array_key_exists(), in_array(), array_flip(), array_reverse(), sort(), asort(), and more.
The document summarizes various PHP array methods including:
- array_change_key_case() to change case of keys
- array_chunk() to split arrays into chunks
- array_combine() to create arrays using one for keys and another for values
- array_merge() to merge multiple arrays
- array_count_values() to count values in an array
- Additional methods like array_push(), array_pop(), array_shift(), array_unshift() to modify arrays
- sort(), rsort(), asort(), arsort() to sort arrays in different orders
- array_slice(), array_pad(), array_splice() to modify portions of an array
-
This document discusses PHP functions and arrays. It covers basic syntax for defining functions, returning values from functions, and variable scope. It also covers array basics like indexing and printing arrays, as well as operations like sorting, searching, and iterating over arrays. Functions for stacks, queues and sets using arrays are also demonstrated. The document is a comprehensive reference for working with functions and arrays in PHP.
The document discusses arrays in PHP, including the three types of arrays (indexed, associative, and multidimensional), how to create and access array elements, functions for manipulating arrays like sort(), merge(), search(), and more. Key array functions covered are sort(), asort(), ksort(), array_merge(), array_intersect(), array_diff(), and the list() function for assigning array values to variables.
The document discusses various PHP array functions including:
- Array functions like array_combine(), array_count_values(), array_diff() for comparing and merging arrays.
- Sorting arrays with asort(), arsort(), ksort(), krsort().
- Other functions like array_search(), array_sum(), array_rand() for searching, summing and random values.
- Modifying arrays with array_push(), array_pop(), array_shift() for adding/removing elements.
The document provides examples of using each array function in PHP code snippets.
The document discusses various ways of working with arrays in PHP, including:
1. Converting between arrays and variables using extract() and compact().
2. Traversing arrays using foreach loops, iterator functions, and for loops.
3. Reducing arrays using array_reduce() to return a single value.
4. Reversing, flipping, and shuffling arrays.
5. Performing operations on entire arrays such as merging, diffing, filtering, and more.
6. Using arrays to implement stacks and queues with functions like array_push(), array_pop(), array_unshift(), and array_shift().
This talk is all about Laravel collections. An overview of the power that it provides and how it improves the code readability. By one side the performance of the application is affected, but it is often not the case.
The win of using collections is more than only performance, it improves maintenance, and help teams to build a better app.
A few resources are mentioned as well. The book written by Adam Wathan, the book written by Jeffrey Madsen and the collection package source code.
This document discusses various techniques for manipulating arrays in PHP, including:
- Adding and removing elements from the beginning, end, and within arrays
- Declaring and initializing associative arrays
- Removing duplicate elements from arrays
- Iterating through arrays
- Finding and extracting specific elements and values from arrays
The document provides code examples to demonstrate each technique and discusses PHP functions like array_shift(), array_unshift(), array_pop(), array_push(), array_splice(), unset(), array_unique(), and in_array().
This document provides an overview of PHP arrays, including:
- Arrays allow storing multiple elements that are accessed via numeric indexes. Elements can be of any type.
- Arrays can be iterated over using foreach loops or traditional for/while loops.
- Arrays have built-in functions for sorting, searching, merging, reversing, and more.
- Multidimensional arrays allow storing other arrays as elements.
- Associative arrays use named keys instead of numeric indexes to access elements.
- Exercises demonstrate creating multidimensional arrays and outputting array data to HTML tables.
The document discusses various PHP array functions such as sizeof(), is_array(), print_r(), array_merge(), array_values(), array_keys(), array_pop(), array_push(), array_shift(), sort(), array_map(), array_walk(), and array_flip(). It provides examples of how each function can be used to access, manipulate, and operate on array elements in PHP.
PHP record- with all programs and outputKavithaK23
This document provides examples of using different PHP features including strings, arrays, functions, classes, objects, and form validation. It includes 12 examples demonstrating various PHP concepts. The first example shows string manipulation functions. The second demonstrates arrays and array functions. The third calculates a factorial using a user-defined function. Subsequent examples generate an employee payslip using classes and objects, build a student mark entry interface, perform hotel room booking with advanced controls, and validate form data on the client and server sides.
This document discusses various PHP functions for sorting arrays. It covers sorting indexed arrays by value using sort(), rsort(), and usort(). For associative arrays, it explains sorting by value with asort(), arsort(), and uasort(), and sorting by key with ksort(), krsort(), and uksort(). The document also discusses sorting alphanumeric values with natsort() and natcasesort(), and sorting multiple arrays at once using array_multisort().
An Elephant of a Different Colour: HackVic Metcalfe
Slides from my GTA-PHP Meetup talk about Hack which is the Facebook version of the PHP programming language which runs under their HHVM runtime environment for PHP. The focus of my talk was the language improvements that the Facebook team has added to PHP.
There's a lot of information in the presenter's notes, so if you're interested in Hack scroll down to see the extras.
Php my sql - functions - arrays - tutorial - programmerblog.netProgrammer Blog
In this ppt you will learn about functions and array in php. What are functions, how to declare and use. built in functions. include and required keywords. how are arguments used. how to create functions inside functions.
What are php arrays, how to create an array and use them. Built in array functions. What are super globals?
advance level of javascript fundamentals has been covered in these slide try it out learn with an ease. https://auroskkil.com/
Lecture 5 array in PHP.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvZahouAmel1
Lecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvv
These are the lecture slides for the BITS training session "Introduction to programming in Bioperl".
See for more material: http://www.bits.vib.be/index.php?option=com_content&view=article&id=17203793:bioperl-additional-material&catid=84&Itemid=610
This document provides an overview of Groovy's collection API. It discusses how Groovy treats many objects like collections, including strings, numbers, and regular expressions. It demonstrates various collection notation and operations, including lists, maps, ranges, and spread operators. It also summarizes common collection methods like each, find, collect, reducers, and useful utility methods like groupBy, countBy, and set operations.
The document discusses various PHP concepts including iterators, generators, arrays, and performance. It provides examples of using iterators, generators, and default array functions to iterate over arrays and collections. It also compares the readability and performance of these different approaches. The document suggests that generators can help avoid memory issues by evaluating sequences lazily without building entire arrays in memory.
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetSritoma Majumder
Introduction
All the materials around us are made up of elements. These elements can be broadly divided into two major groups:
Metals
Non-Metals
Each group has its own unique physical and chemical properties. Let's understand them one by one.
Physical Properties
1. Appearance
Metals: Shiny (lustrous). Example: gold, silver, copper.
Non-metals: Dull appearance (except iodine, which is shiny).
2. Hardness
Metals: Generally hard. Example: iron.
Non-metals: Usually soft (except diamond, a form of carbon, which is very hard).
3. State
Metals: Mostly solids at room temperature (except mercury, which is a liquid).
Non-metals: Can be solids, liquids, or gases. Example: oxygen (gas), bromine (liquid), sulphur (solid).
4. Malleability
Metals: Can be hammered into thin sheets (malleable).
Non-metals: Not malleable. They break when hammered (brittle).
5. Ductility
Metals: Can be drawn into wires (ductile).
Non-metals: Not ductile.
6. Conductivity
Metals: Good conductors of heat and electricity.
Non-metals: Poor conductors (except graphite, which is a good conductor).
7. Sonorous Nature
Metals: Produce a ringing sound when struck.
Non-metals: Do not produce sound.
Chemical Properties
1. Reaction with Oxygen
Metals react with oxygen to form metal oxides.
These metal oxides are usually basic.
Non-metals react with oxygen to form non-metallic oxides.
These oxides are usually acidic.
2. Reaction with Water
Metals:
Some react vigorously (e.g., sodium).
Some react slowly (e.g., iron).
Some do not react at all (e.g., gold, silver).
Non-metals: Generally do not react with water.
3. Reaction with Acids
Metals react with acids to produce salt and hydrogen gas.
Non-metals: Do not react with acids.
4. Reaction with Bases
Some non-metals react with bases to form salts, but this is rare.
Metals generally do not react with bases directly (except amphoteric metals like aluminum and zinc).
Displacement Reaction
More reactive metals can displace less reactive metals from their salt solutions.
Uses of Metals
Iron: Making machines, tools, and buildings.
Aluminum: Used in aircraft, utensils.
Copper: Electrical wires.
Gold and Silver: Jewelry.
Zinc: Coating iron to prevent rusting (galvanization).
Uses of Non-Metals
Oxygen: Breathing.
Nitrogen: Fertilizers.
Chlorine: Water purification.
Carbon: Fuel (coal), steel-making (coke).
Iodine: Medicines.
Alloys
An alloy is a mixture of metals or a metal with a non-metal.
Alloys have improved properties like strength, resistance to rusting.
Ad
More Related Content
Similar to Array functions for all languages prog.pptx (20)
This document discusses PHP functions and arrays. It covers basic syntax for defining functions, returning values from functions, and variable scope. It also covers array basics like indexing and printing arrays, as well as operations like sorting, searching, and iterating over arrays. Functions for stacks, queues and sets using arrays are also demonstrated. The document is a comprehensive reference for working with functions and arrays in PHP.
The document discusses arrays in PHP, including the three types of arrays (indexed, associative, and multidimensional), how to create and access array elements, functions for manipulating arrays like sort(), merge(), search(), and more. Key array functions covered are sort(), asort(), ksort(), array_merge(), array_intersect(), array_diff(), and the list() function for assigning array values to variables.
The document discusses various PHP array functions including:
- Array functions like array_combine(), array_count_values(), array_diff() for comparing and merging arrays.
- Sorting arrays with asort(), arsort(), ksort(), krsort().
- Other functions like array_search(), array_sum(), array_rand() for searching, summing and random values.
- Modifying arrays with array_push(), array_pop(), array_shift() for adding/removing elements.
The document provides examples of using each array function in PHP code snippets.
The document discusses various ways of working with arrays in PHP, including:
1. Converting between arrays and variables using extract() and compact().
2. Traversing arrays using foreach loops, iterator functions, and for loops.
3. Reducing arrays using array_reduce() to return a single value.
4. Reversing, flipping, and shuffling arrays.
5. Performing operations on entire arrays such as merging, diffing, filtering, and more.
6. Using arrays to implement stacks and queues with functions like array_push(), array_pop(), array_unshift(), and array_shift().
This talk is all about Laravel collections. An overview of the power that it provides and how it improves the code readability. By one side the performance of the application is affected, but it is often not the case.
The win of using collections is more than only performance, it improves maintenance, and help teams to build a better app.
A few resources are mentioned as well. The book written by Adam Wathan, the book written by Jeffrey Madsen and the collection package source code.
This document discusses various techniques for manipulating arrays in PHP, including:
- Adding and removing elements from the beginning, end, and within arrays
- Declaring and initializing associative arrays
- Removing duplicate elements from arrays
- Iterating through arrays
- Finding and extracting specific elements and values from arrays
The document provides code examples to demonstrate each technique and discusses PHP functions like array_shift(), array_unshift(), array_pop(), array_push(), array_splice(), unset(), array_unique(), and in_array().
This document provides an overview of PHP arrays, including:
- Arrays allow storing multiple elements that are accessed via numeric indexes. Elements can be of any type.
- Arrays can be iterated over using foreach loops or traditional for/while loops.
- Arrays have built-in functions for sorting, searching, merging, reversing, and more.
- Multidimensional arrays allow storing other arrays as elements.
- Associative arrays use named keys instead of numeric indexes to access elements.
- Exercises demonstrate creating multidimensional arrays and outputting array data to HTML tables.
The document discusses various PHP array functions such as sizeof(), is_array(), print_r(), array_merge(), array_values(), array_keys(), array_pop(), array_push(), array_shift(), sort(), array_map(), array_walk(), and array_flip(). It provides examples of how each function can be used to access, manipulate, and operate on array elements in PHP.
PHP record- with all programs and outputKavithaK23
This document provides examples of using different PHP features including strings, arrays, functions, classes, objects, and form validation. It includes 12 examples demonstrating various PHP concepts. The first example shows string manipulation functions. The second demonstrates arrays and array functions. The third calculates a factorial using a user-defined function. Subsequent examples generate an employee payslip using classes and objects, build a student mark entry interface, perform hotel room booking with advanced controls, and validate form data on the client and server sides.
This document discusses various PHP functions for sorting arrays. It covers sorting indexed arrays by value using sort(), rsort(), and usort(). For associative arrays, it explains sorting by value with asort(), arsort(), and uasort(), and sorting by key with ksort(), krsort(), and uksort(). The document also discusses sorting alphanumeric values with natsort() and natcasesort(), and sorting multiple arrays at once using array_multisort().
An Elephant of a Different Colour: HackVic Metcalfe
Slides from my GTA-PHP Meetup talk about Hack which is the Facebook version of the PHP programming language which runs under their HHVM runtime environment for PHP. The focus of my talk was the language improvements that the Facebook team has added to PHP.
There's a lot of information in the presenter's notes, so if you're interested in Hack scroll down to see the extras.
Php my sql - functions - arrays - tutorial - programmerblog.netProgrammer Blog
In this ppt you will learn about functions and array in php. What are functions, how to declare and use. built in functions. include and required keywords. how are arguments used. how to create functions inside functions.
What are php arrays, how to create an array and use them. Built in array functions. What are super globals?
advance level of javascript fundamentals has been covered in these slide try it out learn with an ease. https://auroskkil.com/
Lecture 5 array in PHP.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvZahouAmel1
Lecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvv
These are the lecture slides for the BITS training session "Introduction to programming in Bioperl".
See for more material: http://www.bits.vib.be/index.php?option=com_content&view=article&id=17203793:bioperl-additional-material&catid=84&Itemid=610
This document provides an overview of Groovy's collection API. It discusses how Groovy treats many objects like collections, including strings, numbers, and regular expressions. It demonstrates various collection notation and operations, including lists, maps, ranges, and spread operators. It also summarizes common collection methods like each, find, collect, reducers, and useful utility methods like groupBy, countBy, and set operations.
The document discusses various PHP concepts including iterators, generators, arrays, and performance. It provides examples of using iterators, generators, and default array functions to iterate over arrays and collections. It also compares the readability and performance of these different approaches. The document suggests that generators can help avoid memory issues by evaluating sequences lazily without building entire arrays in memory.
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetSritoma Majumder
Introduction
All the materials around us are made up of elements. These elements can be broadly divided into two major groups:
Metals
Non-Metals
Each group has its own unique physical and chemical properties. Let's understand them one by one.
Physical Properties
1. Appearance
Metals: Shiny (lustrous). Example: gold, silver, copper.
Non-metals: Dull appearance (except iodine, which is shiny).
2. Hardness
Metals: Generally hard. Example: iron.
Non-metals: Usually soft (except diamond, a form of carbon, which is very hard).
3. State
Metals: Mostly solids at room temperature (except mercury, which is a liquid).
Non-metals: Can be solids, liquids, or gases. Example: oxygen (gas), bromine (liquid), sulphur (solid).
4. Malleability
Metals: Can be hammered into thin sheets (malleable).
Non-metals: Not malleable. They break when hammered (brittle).
5. Ductility
Metals: Can be drawn into wires (ductile).
Non-metals: Not ductile.
6. Conductivity
Metals: Good conductors of heat and electricity.
Non-metals: Poor conductors (except graphite, which is a good conductor).
7. Sonorous Nature
Metals: Produce a ringing sound when struck.
Non-metals: Do not produce sound.
Chemical Properties
1. Reaction with Oxygen
Metals react with oxygen to form metal oxides.
These metal oxides are usually basic.
Non-metals react with oxygen to form non-metallic oxides.
These oxides are usually acidic.
2. Reaction with Water
Metals:
Some react vigorously (e.g., sodium).
Some react slowly (e.g., iron).
Some do not react at all (e.g., gold, silver).
Non-metals: Generally do not react with water.
3. Reaction with Acids
Metals react with acids to produce salt and hydrogen gas.
Non-metals: Do not react with acids.
4. Reaction with Bases
Some non-metals react with bases to form salts, but this is rare.
Metals generally do not react with bases directly (except amphoteric metals like aluminum and zinc).
Displacement Reaction
More reactive metals can displace less reactive metals from their salt solutions.
Uses of Metals
Iron: Making machines, tools, and buildings.
Aluminum: Used in aircraft, utensils.
Copper: Electrical wires.
Gold and Silver: Jewelry.
Zinc: Coating iron to prevent rusting (galvanization).
Uses of Non-Metals
Oxygen: Breathing.
Nitrogen: Fertilizers.
Chlorine: Water purification.
Carbon: Fuel (coal), steel-making (coke).
Iodine: Medicines.
Alloys
An alloy is a mixture of metals or a metal with a non-metal.
Alloys have improved properties like strength, resistance to rusting.
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulsesushreesangita003
what is pulse ?
Purpose
physiology and Regulation of pulse
Characteristics of pulse
factors affecting pulse
Sites of pulse
Alteration of pulse
for BSC Nursing 1st semester
for Gnm Nursing 1st year
Students .
vitalsign
Contact Lens:::: An Overview.pptx.: OptometryMushahidRaza8
A comprehensive guide for Optometry students: understanding in easy launguage of contact lens.
Don't forget to like,share and comments if you found it useful!.
What makes space feel generous, and how architecture address this generosity in terms of atmosphere, metrics, and the implications of its scale? This edition of #Untagged explores these and other questions in its presentation of the 2024 edition of the Master in Collective Housing. The Master of Architecture in Collective Housing, MCH, is a postgraduate full-time international professional program of advanced architecture design in collective housing presented by Universidad Politécnica of Madrid (UPM) and Swiss Federal Institute of Technology (ETH).
Yearbook MCH 2024. Master in Advanced Studies in Collective Housing UPM - ETH
How to Manage Opening & Closing Controls in Odoo 17 POSCeline George
In Odoo 17 Point of Sale, the opening and closing controls are key for cash management. At the start of a shift, cashiers log in and enter the starting cash amount, marking the beginning of financial tracking. Throughout the shift, every transaction is recorded, creating an audit trail.
How to manage Multiple Warehouses for multiple floors in odoo point of saleCeline George
The need for multiple warehouses and effective inventory management is crucial for companies aiming to optimize their operations, enhance customer satisfaction, and maintain a competitive edge.
How to Set warnings for invoicing specific customers in odooCeline George
Odoo 16 offers a powerful platform for managing sales documents and invoicing efficiently. One of its standout features is the ability to set warnings and block messages for specific customers during the invoicing process.
APM event hosted by the Midlands Network on 30 April 2025.
Speaker: Sacha Hind, Senior Programme Manager, Network Rail
With fierce competition in today’s job market, candidates need a lot more than a good CV and interview skills to stand out from the crowd.
Based on her own experience of progressing to a senior project role and leading a team of 35 project professionals, Sacha shared not just how to land that dream role, but how to be successful in it and most importantly, how to enjoy it!
Sacha included her top tips for aspiring leaders – the things you really need to know but people rarely tell you!
We also celebrated our Midlands Regional Network Awards 2025, and presenting the award for Midlands Student of the Year 2025.
This session provided the opportunity for personal reflection on areas attendees are currently focussing on in order to be successful versus what really makes a difference.
Sacha answered some common questions about what it takes to thrive at a senior level in a fast-paced project environment: Do I need a degree? How do I balance work with family and life outside of work? How do I get leadership experience before I become a line manager?
The session was full of practical takeaways and the audience also had the opportunity to get their questions answered on the evening with a live Q&A session.
Attendees hopefully came away feeling more confident, motivated and empowered to progress their careers
Link your Lead Opportunities into Spreadsheet using odoo CRMCeline George
In Odoo 17 CRM, linking leads and opportunities to a spreadsheet can be done by exporting data or using Odoo’s built-in spreadsheet integration. To export, navigate to the CRM app, filter and select the relevant records, and then export the data in formats like CSV or XLSX, which can be opened in external spreadsheet tools such as Excel or Google Sheets.
GDGLSPGCOER - Git and GitHub Workshop.pptxazeenhodekar
This presentation covers the fundamentals of Git and version control in a practical, beginner-friendly way. Learn key commands, the Git data model, commit workflows, and how to collaborate effectively using Git — all explained with visuals, examples, and relatable humor.
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schoolsdogden2
Algebra 1 is often described as a “gateway” class, a pivotal moment that can shape the rest of a student’s K–12 education. Early access is key: successfully completing Algebra 1 in middle school allows students to complete advanced math and science coursework in high school, which research shows lead to higher wages and lower rates of unemployment in adulthood.
Learn how The Atlanta Public Schools is using their data to create a more equitable enrollment in middle school Algebra classes.
2. array_combine()
• The array_combine() function creates an array by using the elements
from one "keys" array and one "values" array.
• array_combine(keys, values)
<?php
$name=array("Manoj","Rahul","Aneesh");
$marks=array("75","89","44");
$c=array_combine($name,$marks);
print_r($c);
?>
OUTPUT:
Array ( [Manoj] => 75 [Rahul] => 89 [Aneesh] => 44 )
3. array_chunk()
• The array_chunk() function splits an array into chunks of new
arrays.
• array_chunk(array, size, preserve_key)
<?php
$courses=array("PHP","Laravel","Node
js","HTML","CSS","ASP.NET");
print_r(array_chunk($courses,2));
?>
OUTPUT:
Array ( [0] => Array ( [0] => PHP [1] => Laravel ) [1] => Array ( [0]
=> Node js [1] => HTML ) [2] => Array ( [0] => CSS [1] =>
ASP.NET ) )
6. array_count_values()
• The array_count_values() function counts all the values of
an array.
• array_count_values(array)
<?php
$a=array("Block 33","Block 34","Block 34","Block 36","Block
36");
print_r(array_count_values($a));
?>
OUTPUT:
Array ( [Block 33] => 1 [Block 34] => 2 [Block 36] => 2 )
7. array_diff()
• The array_diff() function compares the values of two (or
more) arrays, and returns the differences.
• This function compares the values of two (or more)
arrays, and return an array that contains the entries from
array1 that are not present in array2 or array3, etc.
• array_diff(array1, array2, array3, ...)
9. array_flip()
• The array_flip() function flips/exchanges all keys with their
associated values in an array.
• array_flip(array)
<?php
$a1=array("a"=>"red","b"=>"green","c"=>"blue","d"=>"yellow"
);
$result=array_flip($a1);
print_r($result);
?>
OUTPUT:
Array ( [red] => a [green] => b [blue] => c [yellow] => d )
11. array_intersect()
• The array_intersect() function compares the values of two (or more)
arrays, and returns the matches.
• array_intersect(array1, array2, array3, ...)
<?php
$a1=array("a"=>"red","b"=>"green","c"=>"blue","d"=>"yellow");
$a2=array("e"=>"red","f"=>"green","g"=>"blue");
$a3=array("red","blue");
$result=array_intersect($a1,$a2,$a3);
print_r($result);
?>
OUTPUT:
Array ( [a] => red [c] => blue )
12. array_merge()
• The array_merge() function merges one or more arrays into
one array.
• array_merge(array1, array2, array3, ...)
<?php
$a1=array("a"=>"red","b"=>"green");
$a2=array("c"=>"blue","b"=>"yellow");
$a3=array("c"=>"orange","b"=>"magenta");
print_r(array_merge($a1,$a2,$a3));
?>
OUTPUT:
Array ( [a] => red [b] => magenta [c] => orange )
14. array_pop()
• The array_pop() function deletes the last element of an
array.
• array_pop(array)
<?php
$a=array("red","green","blue");
array_pop($a);
print_r($a);
?>
OUTPUT:
Array ( [0] => red [1] => green )
16. array_push()
• The array_push() function inserts one or more elements
to the end of an array.
• array_push(array, value1, value2, ...)
<?php
$a=array("red","green");
array_push($a,"blue","yellow");
print_r($a);
?>
OUTPUT:
Array ( [0] => red [1] => green [2] => blue [3] => green )
18. array_reverse()
• The array_reverse() function returns an array in the
reverse order.
• array_reverse(array, preserve)
<?php
$a=array("a"=>"Volvo","b"=>"BMW","c"=>"Toyota");
print_r(array_reverse($a));
?>
OUTPUT:
Array ( [c] => Toyota [b] => BMW [a] => Volvo )
19. array_reverse()
• Pass true value to preserve the key
<?php
$a=array("Volvo","BMW","Toyota");
print_r(array_reverse($a, true));
?>
OUTPUT:
Array ( [2] => Toyota [1] => BMW [0] => Volvo )
20. array_search()
• The array_search() function search an array for a value
and returns the key.
• array_search(value, array, strict)
<?php
$a=array("a"=>"red","b"=>"green","c"=>"blue");
echo array_search("red",$a);
?>
OUTPUT:
a
22. array_slice()
• The array_slice() function returns selected parts of an array.
• array_slice(array, start, length, preserve)
<?php
$a=array("a"=>"red","b"=>"green","c"=>"blue","d"=>"yellow","e"=>"brown");
print_r(array_slice($a,1,2));
echo "<br>";
$a=array("red","green","blue","yellow","brown");
print_r(array_slice($a,1,2,true));
?>
OUTPUT:
Array ( [b] => green [c] => blue )
Array ( [1] => green [2] => blue )
23. array_column()
• The array_column() function returns the values from a single column in the input
array.
• array_column(array, column_key, index_key)
<?php
$result = array(
array('name'=>'Manoj','cgpa'=>6.7,'status'=>'pass'),
array('name'=>"Shalini",'cgpa'=>9.8,'status'=>'pass'),
array('name'=>'Mani','cgpa'=>3.2,'status'=>'fail')
);
$name = array_column($result, 'name');
print_r($name);
?>
OUTPUT:
Array ( [0] => Manoj [1] => Shalini [2] => Mani )