School ProgrammingLast Updated : 26 Sep, 2023ReadDiscussCoursesRecent ArticlesThe page is designed for beginners in programming language, especially school students. It has following sections.Introduction to Programming LanguagesLearning a Programming LanguageProgramming Problems and SolutionsPractice ProblemsRecent School Coding ArticlesRecent School Coding Practice ProblemsMultiple Choice Questions – C, C++, Java, PythonLearning a Programming Language :C++Getting Started :Setting up C++ EnvironmentWriting first C++ ProgramBasic :Data TypesVariables and KeywordsOperatorsDecision Making and Flow of Control :Decision MakingLoopsSwitchFunctions :Introduction‘inline’ FunctionsDefault Arguments‘ceil’ and ‘floor’ FunctionsPointers and References :PointersDangling | NULL | void | Wild PointersReferencesDifferences between Pointers and References‘new’ and ‘delete’ OperatorQuiz on ReferencesQuiz on ‘new’ and ‘delete’ operatorArray and Strings :ArraysStringsArray of StringsOOPs(Object Oriented Programming) :IntroductionClass and ObjectsAccess Modifiers‘friend’ class and ‘friend’ functionInheritancePolymorphism‘this’ PointerQuiz on Class and ObjectQuiz on ‘this’ PointerConstructors and Destructors :ConstrtuctorsDefault ConstructorsCopy ConstructorDestructorsQuiz on ConstructorsQuiz on DestructorsInheritance :What all is Inherited…Multiple InheritanceQuiz on InheritancePolymorphism :Function OverloadingOperator OverloadingOperators that can not be overloadedQuiz on Function OverloadingQuiz on operator OverloadingVirtual Functions and Abstract Class :Virtual FunctionsPure Virtual Functions and Abstract ClassQuiz on Virtual FunctionsException Handling :Exception handlingcatch block and type conversionQuiz on Exception handlingQuick Links :More Articles on ‘C++’>>Practice Problems on ‘C++’ !Quizzes on ‘C++’ !JavaGetting Started :Setting up Java EnvironmentBeginning with JavaJava Naming ConventionsJVMBasics :IdentifiersData TypesVariablesScope of VariablesOperatorsComments in JavaQuiz on Data TypesQuiz on OperatorsInput and Output :Reading Input From ConsoleScanner Class in JavaDecision Making and Flow Of ControlIf | if-else | if-else-if | Nested if | break | continueSwitch CaseString in switch case in JavaLoopsArray :Arrays in JavaDefault Array ValuesArray IndexOutOfBounds ExceptionComparing ArraysQuiz on ArraysStrings :StringInitializing a StringStringTokenizer ClassString, StringBuilder, StringBuffercharAT | indexOf and its versions | substringReversing a StringInteger to StringString to IntegerOOPs (Object Oriented Programming) :Classes and ObjectsAccess ModifiersEncapsulationInheritanceOverloading in JavaQuiz on Classes and ObjectsMethods :Parameter PassingPassing and Returning ObjectsReturning Multiple ValuesPrivate and Finals MethodsQuiz on FunctionsConstructors :Constructor and its TypesDefault ConstructorCopy ConstructorConstructor ChainingQuiz on ConstructorsInheritance :Inheritance in JavaMultiple InheritanceInheritance and ConstructorsQuiz on InheritancePolymorphism :OverloadingMethod OverloadingDifferent Ways Of Method OverloadingMethod OverridingRun Time PolymorphismConstructor OverloadingKeywords in JavathissuperfinalabstractInterfaces and Abstract Clases :Abstract ClassesInterfacesAccess Specifiers of Methods in InterfacesDifference Between Abstract Class and InterfaceQuiz on Abstract Class And InterfaceException Handling :ExceptionsTypes Of ExceptionsTry-Catch in JavaMultiCatchthrow and throwsUser-Defined ExceptionsQuiz on Exception HandlingFile Handling :File ClassFile PermissionsReading a Text FileCopying a FileDeleting a FileQuick Links :More Articles On ‘Java’ >>Practice Problems on ‘Java’ !Quizzes on ‘Java’ !PythonGetting Started :IntroductionPython | The New Generation LanguageVariables | Expressions | FunctionsGlobal and Local VariablesOperators :Division OperatorAny and All OperatorIncrement and Decrement OperatorsOperator FunctionsTernary OperatorQuiz on OperatorsData Types :IntroductionStrings :Strings | Set 1Strings | Set 2String Methods | Set 1String Methods | Set 2List :Comprehension and SlicingList Methods | Set 1List Methods | Set 2TuplesArrays | Set 1Arrays | Set 2Quiz on Data TypesDictionary :IntroductionDictionary MethodsFlow of Control :Loops and Control StatementsCountersFunctions :Mathematical Functions | Set 1Mathematical Functions | Set 2Calender FunctionsenumOOPs(Object Oriented Programming)Class | ObjectsData Hiding and Object PrintingInheritanceException Handling :IntroductionUser Defined ExceptionsQuick Links :More Articles On ‘Python’>>Practice Problems on ‘Python’ !Quizzes on ‘Python’ !Solved Programming Problems and Solutions :Basic :Program to swap two numbersProgram to check if given year is leap year or notProgram to print Floyd’s triangleMathematical :Program to find Area of CircleProgram to find Area of a TriangleProgram to find factorial of a numberProgram to find GCD / HCF of two numberProgramto find LCM of two numberProgram to find all angles of a triangleSolving f(n)= (1) + (2*3) + (4*5*6) … n using RecursionProgram to print first n Fibonacci numbersMultiply the given number by 2 such that it is divisible by 10Program to find greater value between a^n and b^nMaximum number of pieces in N cutsProgram to find Sum of the series 1*3 + 3*5 + ….Program to find Length of Bridge using Speed and Length of TrainPattern Printing :C Programs to print interesting PatternsC Programs to Diamond ShapeC++ Program for printing Pyramid PatternsJava Programs for printing Pyramid PatternsProgram to print Inverse Diamond patternPython Programs for printing Pyramid Patterns | Set 1Python Programs for printing Pyramid Patterns | Set 2Program to print a given patternArray :Program to find largest element in an arrayProgram to find the sum of elements of arrayProgram for Multiplication of Array elementsProgram to cyclically rotate an array by oneProgram to print Sum Triangle of an arrayRecursive program to find an element in an array linearlyProgram for printing array in Pendulum ArrangementMatrix :Program to add two matricesProgram for subtraction of matricesProgram to check if two matrices are identical or notProgram to multiply two matricesProgram to find transpose of matrixProgram to print a given matrix in Spiral FormProgram to print a matrix in Diagonal PatternStrings :Program for converting Alternate characters of a string to Upper CaseProgram to find missing characters to make a string PangramProgram to check if a string is palindrome or notDate and Time :Program for converting given time to wordsProgram to convert time from 12-hour format to 24-hour formatProgram to check if given Date is valid or not.Practice Problems :Basic :Print Hello WorldDecision MakingPerforming Arithmetic operationsPrint a string n timesSwap two numbersReversing digits of a numberDecimal to any base conversionConversion from any base to DecimalConversion from Celsius to FahrenheitPrint numbers from 1 to n without using loopsMiddle of threeTo check if a number is Palindrome or notBinary representation of a numberMathematical :Small factorialOdd or EvenCalculating abGreatest of three numbersCheck if a number is a perfect squareAll divisors of a natural numberCalculating nPr (Permutations)Sum of APSum of GPCalculating Surface area and volume of cuboidCalculating Compound InterestCalculating Simple InterestPrinting TablesArea of Rectangle,Right-Angled Triangle and CircleNumber of Open DoorsNumber of integer solutionsMaximum possible sum of productsRemainder SolutionTo check if given four points form a square or notOverlapping rectanglesSum of all prime numbers between 1 to nTo check if a number is power of another numberCommon divisorsComposite seriesCalculating MeanMatching PairPerfect NumberNumber of DivisorsParallel or PerpendicularMaximum DistanceDistance between two pointsTidy numberProper divisors and XOR operationSum PalindromePatterns :Number PatternPattern printingTriangle shrinking downwardsTriangle growing downwardsPattren of stringsY shaped patternInverted triangle of starsArray :Print elements of arraySum of array elementsMultiplying elements of an arraySearch an element in arrayAlone in coupleFinding second largest element in arrayBinary array sortingImmediate smaller elementReversing an array by ‘d’ elementsEqual to ProductTo check if an array is sorted or notFinding roots of quadratic equationNumber of smaller and larger elementsMissing numberReverse array in groupsFinding mean at every pointPrint the left-most elementCompete the skillsForm largest number from digitsFind duplicates in an arrayMatrix :Diagonal SumSum of elements in a matrixMaximum sum of Hour GlassStrings :Converting string from LOWER case to UPPER caseRemove characters from alphanumeric stringCount of Camel case charactersCount number of alphabetsTo check if a character is vowel or notFinding substring in a stringSorting a stringPerfect Reversible StringFinding longer of the string and concatenatingDisplay longest nameReverse a stringReversing vowelsSplit the stringSort the festCheck if a string is rotated by two placesDate and Time :Numebr of days between two given datesCheck if date is valid or not12-hour clock multiplication12-hour clock subtraction12-hour clock additionMisc :Max-min conversionJumping FrogProfessor and PartiesCombinational LogicThe Lazy Caterer’s ProblemIf you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to review-team@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.