Scala And C# Workbook For Exams And Interviews: Fast And Easy Way To Learn Coding Basics
- Length: 90 pages
- Edition: 1
- Language: English
- Publication Date: 2021-05-10
- ISBN-10: B094NHV57B
This book contains coding examples for beginners to practice. This exercises useful during interview and examination also.
TABLE OF CONTENTS
SCALA STRING EXERCISES
GET THE CHARACTER AT THE GIVEN INDEX
CONCATENATE A GIVEN STRING TO THE END OF ANOTHER STRING
CREATE A NEW STRING OBJECT WITH THE CONTENTS OF A CHARACTER ARRAY
SCALA ARRAY EXERCISES
SUM VALUES OF AN GIVEN ARRAY
CALCULATE THE AVERAGE VALUE
FIND THE INDEX OF AN ELEMENT IN A GIVEN ARRAY
CHECK TWO NUMBERS, 4 OR 7 PRESENT IN A GIVEN ARRAY OF INTEGERS
SCALA LIST EXERCISES
REMOVE SINGLE AND MULTIPLE ELEMENTS
DELETE ELEMENT(S) FROM A GIVEN LIST
REMOVE DUPLICATES FROM A GIVEN LIST
DIFFERENCE BETWEEN TWO GIVEN LISTS
SCALA BASIC EXERCISES
PRINT HELLO WORLD
COMPUTE THE SUM
GET THE ABSOLUTE DIFFERENCE
CHECK GIVEN STRING
CHECK THE LARGEST NUMBER
WHICH NUMBER IS NEAREST
CALCULATE THE AVERAGE VALUE
FIND THE INDEX
REMOVE A SPECIFIC ELEMENT
ROTATE ONE ELEMENT LEFT OF AN GIVEN ARRAY
COUNT AND PRINT
C# SHARP EXERCISES
DISPLAY THREE LETTERS IN REVERSE ORDER
C# SHARP PROGRAM TO CHECK TWO GIVEN INTEGERS
C# SHARP PROGRAM TO CHECK A GIVEN POSITIVE NUMBER
CALCULATE THE PERIMETER
C# SHARP CONDITIONAL STATEMENT
C PROGRAM TO CHECK WHETHER A NUMBER IS EVEN OR ODD
CHECK A NUMBER IS POSITIVE OR NEGATIVE
C# SHARP PROGRAM TO ACCEPT THE HEIGHT OF A PERSON
FIND THE ADDITION OF TWO INTEGER NUMBERS
PROGRAM TO SWAP TWO NUMBERS
PROGRAM TO DEMONSTRATE EXAMPLE OF SIMPLE IF ELSE STATEMENT
EXAMPLE OF MULTIPLE IF ELSE STATEMENT
C# PROGRAM OF CONDITIONAL OPERATOR
C# PROGRAM EXAMPLE OF SWITCH STATEMENT
C# PROGRAM TO FIND LARGEST OF TWO NUMBERS
PRINT NUMBERS FROM 1 TO 15 USING WHILE LOOP
PRINT NUMBERS FROM 1 TO 15 USING DO WHILE LOOP
PROGRAM TO FIND OUT THE PRIME NUMBERS AMONG 2 TO 30
FIND THE LARGEST OF THREE NUMBERS
CHECK WHETHER A TRIANGLE CAN BE FORMED
CALCULATE PROFIT AND LOSS
INPUT DAY NUMBER AND DISPLAY ITS EQUIVALENT DAY NAME