Posts

Showing posts from June, 2024

Php program to print 2 variables in a single echo

 Php program to print 2 variables in a single echo <?php $str1="Hello world!"; $str2="What a nice day!"; echo $str1 . " " . $str2; ?>  Output: Hello world! What a nice day!

Program to print a string using echo variable

  Program to print a string using echo variable <?php $message = "Welcome to the PHP World";   echo $message; ?> Output Welcome to the PHP World

What is Computer science course ?

Image
  B.Sc.  Computer Science  Computer science studies  computers and computing and their theoretical and practical applications . Computer science applies the principles of mathematics, engineering, and logic to many functions, including algorithm formulation, software and hardware development, and artificial intelligence. After plus two, you can choose BSC COMPUTER SCIENCE  Career Opportunities Software Developer. Web Developer. Computer Programmer. Network Administrator. Software Engineer. Systems Manager. Computer Hardware Engineer. Information Security Analyst. What is the qualification for BSc CS after the 12th? Candidates who have passed the 12th grade or an equivalent exam from a recognized board with an average score of 50% in the science stream are eligible for full-time BSc courses. 2) The course lasts for three years. 3) The merit list determines eligibility for admission. However, some schools favor entrance exams. Which is better, BSc or BCA? Field of Interest: BCA focuses o

Php program to print “Hello PHP” using variable

  Php program to print “Hello PHP ” using variable <?php $message = "Hello  PHP ";  echo $message; ?> Output Hello PHP

Php program to print “Hello World” using echo

  Php program to print “Hello World” using echo <? php   echo 'Hello, World!’;   ?> Output Hello, World! For Lecture videos on Computer Science Please follow my YOUTUBE channel 

Php program to count 5 to 15

            Php program to count 5 to 15 <?php  $count = 5;  while($count <= 15)  { echo $count; echo "<br>" ; $count++; } ?> Check your output, Below is the model of the output  Output -------- 5 6 7 8 9 10 11 12 13 14 15 If you enjoy learning please follow me for getting updates

UGC NET JUNE 2024 SOLVED QUESTIONS AND ANSWERS

Image
  Getting UGC NET PAPER 1 JUNE 2024 SOLUTIONS  Click here

Conditions and If Statements in C++

   Conditions and If Statements in C++ C++ has the following conditional statements: Use  if  to specify a block of code to be executed, if a specified condition is true Use  else  to specify a block of code to be executed, if the same condition is false Use  else if  to specify a new condition to test, if the first condition is false Use  switch  to specify many alternative blocks of code to be executed The if Statement Use the  if  statement to specify a block of C++ code to be executed if a condition is  true . if  ( condition ) {    // block of code to be executed if the condition is true } EG: int  x =  20 ; int  y =  18 ; if  (x > y)  {   cout <<  "x is greater than y" ;  } Less than:  a < b Less than or equal to:  a <= b Greater than:  a > b Greater than or equal to:  a >= b Equal to  a == b Not Equal to:  a != b You can use these conditions to perform different actions for different decisions. Thanks for your time, if you enjoy the lecture share l