Algorithms and Data Structures Flashcards
What is a Data Structure?
A particular way of organizing data that allows for access and modification
What is an Algorithm?
A process of way of doing something specific
What is an integer datatype?
byte, short, int, long
What is a float data type?
float, double
What is a boolean data type?
A data type that stores only true or false values
What is a character data type?
A data type that stores single characters
What is a String data type?
Used to store a sequence of characters
When to use float or double?
When precision is important, float is less precise than double
What is a primitive data type?
A predefined datatype that always has a value
What is a non-primitive type?
Also known as a reference type because they refer to objects created by the programmer
Can be used to call methods to perform certain operations
What are examples of non primitive types?
Arrays, Strings, Classes, Interface
What are the two types of type casting in java?
Widening casting and Narrowing casting
What is widening casting?
Done automatically when converting primitive data types from smaller size type to a larger size type
What is narrowing casting?
Done manually when converting a primitive data type from a larger size type to a smaller size type
What is Agile?
A set of practices that teams can use to make decisions on how to do the work of developing software
Why is Agile useful?
Its foundational for teams to use that results in better software development
What are the stages of Agile?
Project initiation, planning, development, production, retirement
Project initiation
high level inception phase which is where team members will be identified, determine time and resources
Planning
Meet with the product owner and discuss the product backlog and begin building that
Development
Start building the first iteration of the product with the aim of finishing the end of the sprint
Develop, test and repeat
Production
Product is deployed to users
Retirement
Product is retired when a new iteration is replacing the original
What is a product backlog
The list of new features, changes to existing features, bug fixes in the form of user stories
What is the sprint backlog?
Selected items from the product backlog that are broken down into user stories for implementation during the sprint
Daily standups
daily inspection of progress towards sprint goal