Thursday

Oyo TESCOM 2020 Application and Uploads is in Progress

Oyo TESCOM Registration Form

The Oyo State TESCOM recruitment re-application exercise for existing applicants is now in progress.

How To Apply?

  1. Visit https://tescom.jobportal.oyostate.gov.ng/ to confirm your existing phone number and register. Applicants are expected to validate their existing registration with the phone number they registered on the paper form previously submitted.
  2. Once you confirm your existing registration with your phone number and your name appears, continue to create an account with an active email address and set a password for your account.
  3. After an account is created, a confirmation email will be sent to your email address. Check your email for a confirmation email from Oyo TESCOM and then click the link inside.
  4. Login to your account and complete the step-by-step application form. The re-application consists of series of forms that request applicants to submit their personal data, work experience, employment history, job applied for, and upload their passport photographs, means of identification (Voter's card, National ID Card, Driver's license and all credentials including certificate of origin issued by a state.
  5. Submit your application when done.
  6. Print your confirmation slip and start processing.


Closing Date

As reported in one of our previous posts, the Commission says the registration and uploading exercise will run from Thursday 16th July to Wednesday 22nd July 2020.

Please feel free to comment your questions and any help tips below.

Wishing all applicants best of luck!

Tuesday

Oyo TESCOM Recruitment: Applicants' Upload of Credentials — Recruitment Portal Updates — Upload Exercise Postponed


It would be recalled that on Thursday, July 9, 2020, the Oyo State Post Primary Schools Teaching Service Commission, TESCOM, had directed all existing applicants who obtained and submitted application forms in the ongoing TESCOM recruitment exercise to visit jobportal.oyostate.gov.ng and upload details of their credentials and personal data between Monday, July 13 and Saturday, July 18, 2020.

As the five days specified for the uploading of credentials for applicants into Oyo TESCOM, enters the second day, thousands of applicants are afraid as they are unable to access the designated portal for the upload and personal data update exercise.

The Information Officer of the Commission, Mr Raji Kolawole, in an interactive session with the Broadcasting Corporation of Oyo State, BCOS, stated that the Commission is working diligently to ensure that applicants have access to the portal and be able to upload their documents as soon as possible.

It was also reported in a publication today that the Commission has announced the postponement of the commencement of the uploading exercise. The exercise is likely going to commence on Thursday 16th July 2020. Read the statement below.

"Our technical crew is presently working on it at the back end while, the state portal jobportal.oyostate.gov.ng remains valid and the new date for this exercise will subsequently be shifted to Thursday 16th July, till Wednesday 22nd July 2020."

When asked about one of the Examination timetable flying on Social Media by the BCOS, Mr Raji explained that the timetable is for Non-Teaching Staff of the Commission that are yet to be fully absorbed.

On Friday, July 10, 2020, the Commission, through its Information Officer, added another website address to be used for the credentials’ upload. The second website address is: http://www.tescom.oy.gov.ng. It was also noticed that the initial website announced, http://jobportal.oyostate.gov.ng, now redirects to http://www.tescom.oy.gov.ng

So, let's keep our fingers crossed and wait till the Commission says, "It's a go!"

For updates on how to apply, click here.

Thursday

Python Multiplication Table of Specified Number of Columns and Rows Using Python User input() Function

In this example, we create a python multiplication table program that allows user to input the start number and end number of columns and rows.

The python user input() function is used to accept input from user.


Output:


Tuesday

Python Multiplication Table: Multiplication of Numbers with Python For Loop and Range Function

This program displays the multiplication table of numbers (from 1 to 12) using Python for loop and range function. 

The Code:


columns = range(2,13) # from number 2 to 12 (index 13)
rows = range(2,13) # from number 2 to 12 (index 13)
for x in columns: # loop through the column range
print('\nTABLE ' + str(x))
for y in rows: # loop through the row range
product = x * y 
print(str(x) + " x " + str(y) + " = " + str(product))

In this example, we have used the for loop along with the range() function to iterate tables 2 to 12 (and it can also be extended). The arguments inside the range() function (2, 12) can be modified to test for other values.

Output:



Friday

C Programming MCQs and Answers

Download C programming Multiple Choice Questions and Answers. C programming is a general-purpose, procedural, imperative computer programming language developed in 1972 by Dennis M. Ritchie. It is an excellent language to learn to program for beginners. 

Sample C Programming Questions & Answers

1. Comment on the output of following code:

  1. #include <stdio.h>

  2. main()

  3. {

  4. char *p = 0;

  5. *p = 'a';

  6. printf("value in pointer p is %c\n", *p);

  7. }

a) It will print a
b) It will print 0
c) Compile time error
d) Run time error

Answer:d
Output:
$ cc pgm.c
$ a.out
Segmentation fault (core dumped)

2. What is the output of this C code?

  1. #include <stdio.h>

  2. main()

  3. {

  4. if (sizeof(int) > -1)

  5. printf("True");

  6. else

  7. printf("False");

  8. }

a) True
b) False

Answer:b
Output:
$ cc pgm.c
$ a.out
False

3. What is the output of this C code?

  1. #include <stdio.h>

  2. main()

  3. {

  4. char *p = "Sanfoundry C-Test";

  5. p[0] = 'a';

  6. p[1] = 'b';

  7. printf("%s", p);

  8. }

a) abnfoundry C-Test
b) Sanfoundry C-Test
c) Compile time error
d) Run time error

Answer:d
Output:
$ cc pgm.c
$ a.out
Segmentation fault (core dumped)

4. What is the output of this C code?

  1. #include <stdio.h>

  2. int main()

  3. {

  4. float f = 0.1;

  5. if (f == 0.1)

  6. printf("True");

  7. else

  8. printf("False");

  9. }

a) True
b) False

Answer:a
Output:
$ cc pgm.c
$ a.out
False

5. What is the output of this C code?

  1. #include <stdio.h>

  2. main()

  3. {

  4. int n = 0, m = 0;

  5. if (n > 0)

  6. if (m > 0)

  7. printf("True");

  8. else

  9. printf("False");

  10. }

a) True
b) False
c) No Output will be printed
d) Run Time Error

Answer:c
Output:
$ cc pgm.c
$ a.out
$


PHP Script — Display Even and Odd Numbers

PHP script using loop to display even and odd numbers between 1 and a specified end number. The code can be modified for different number range.

Even numbers are those which are divisible by 2. Numbers like 2,4,6,8,10, etc are evenOdd numbers are those which are not divisible by 2; they  are numbers whose remainder equals 1 if divided by two.

This program displays even and odd numbers between 1 and a specified limit. The limit can be changed by changing the value of the last number variable. The initial even or initial odd number value can also be changed to specify the start number.

<?php
	$last_number = 50; #the end number - value can be changed
	# Display Even Number
echo "<p><strong>Even Numbers</strong>:<br />";
$i = 2; # initial even number
while ($i <= $last_number){
/* display $i only if it's remainder division results into 0 */
if($i % 2 == 0){
echo $i.", ";
}
$i++;
}

	#Display Odd Numbers
echo "<p><strong>Odd Numbers</strong>:<br />";
$i = 1; # initial odd number
while ($i <= $last_number){
/* display $i only if it's remainder division results into 1 */
if($i % 2 == 1){
echo $i.", ";
}
$i++;
}
?>

Python Program — Display Even and Odd Numbers


Using Python to loop through a specified range of numbers to display odd and even numbers.

Even numbers are numbers divisible by 2, while odd numbers are numbers whose remainder equals 1 if divided by two.

This program displays even and odd numbers between 1 and a specified limit. The limit can be changed by changing the value of the last number variable. The initial even or initial odd number value can also be changed to specify the start number.

last_number = 30 #the end number - value can be changed
# Display Even Number
print("Even Numbers:")
i = 2 #initial even number
while i <= last_number:
  print(i),
  i += 2 #increment i by 2
#Display Odd Numbers
print("\n\nOdd Numbers:")
i = 1 #initial odd number
while i <= last_number:
print(i),
i += 2 #increment i by 2

Download program here.

C Program — Display Even and Odd Numbers


Displaying even and odd numbers between a range of numbers.

Even numbers are numbers divisible by 2, while odd numbers are numbers whose remainder equals 1 if divided by two.

This program displays even and odd numbers between 1 and a specified limit. The limit can be changed by changing the value of the last number variable. The initial even or initial odd number value can also be changed to specify the start number.


#include<stdio.h>
void main()
{
 int i,end_number;
 clrscr();
 /* Accept command-line input */
 printf("\n Enter last number : ");
 scanf("%d", &end_number);
 
 //Display Even Numbers
 printf("\n Even Numbers:\n ");
 i = 2;//initial even number
 while(i<=end_number)
 {
  printf(" %d",i);
  i=i+2;//increment i by 2
 }
 //Display Odd Numbers
 printf("\n\n Odd Numbers:\n ");
 i=1;//initial odd number
 while(i<=end_number)
 {
  printf(" %d",i);
  i=i+2;//increment i by 2
 }
 getchar();
}
Download program here.

See another example that displays even and odd number between 1 and 30

#include<stdio.h>

void main()
{ int i,end_number; end_number = 30;//specific end number

//Display Even Numbers
printf("\n Even Numbers:\n ");
i = 2;//initial even number
while(i<=end_number)
{
printf(" %d",i);
i = i + 2;//increment i by 2
} //Display Odd Numbers
printf("\n\n Odd Numbers:\n ");
i=1;//initial odd number
while(i <= end_number)
{
printf(" %d",i);
i = i + 2;//increment i by 2
}
getchar();
}
Download program here.

Thursday

Special Characters Shortcuts — Alt Keyboard Sequence: Windows Shortcut Keys for Special Characters


Many special characters can be created using keyboard shortcuts. Below are some of the common and popular special characters and the keyboard shortcuts to create them. 


Note on Usage: 

To type a special character, using an Alt keyboard sequence: 

  1. Ensure that the Num Lock key has been pressed, to activate the numeric key section of the keyboard. 
  2. Press the Alt key, and hold it down. 
  3. While the Alt key is pressed, type the sequence of numbers (on the numeric keypad) from the Alt code in the table below. 
  4. Release the Alt key, and the character will appear. 

Shortcut Keys 

Special Character 

Alt+0224 

à 

Alt+0232 

è 

Alt+0236 

ì 

Alt+0242 

ò 

Alt+0241 

ñ 

Alt+0228 

ä 

Alt+0246 

ö 

Alt+0252 

ü 

Alt+0248 

ø 

Alt+0223 

ß 

Alt+0198 

Æ 

Alt+0231 

ç 

Alt+0191 

¿ 

Alt+0176 

°  (degree symbol) 

Alt+0177 

±  (plus/minus symbol) 

Alt+0153 

 

Alt+0169 

© 

Alt+0174 

® 

Alt+0128 

€  (Euro currency) 

Alt+0162 

¢  (Cent symbol) 

Alt+0163 

£  (British Pound currency) 

Alt+0165 

¥  (Japanese Yen currency)



NOTE

  • There are some gaps in the numerical sequence of Alt character codes, because either those elements do not exist, or they are duplicates of elements listed elsewhere. 
  • Some word processing programs will not recognize these Alt functions. 
  • Many fonts improperly display Alt 166 and Alt 167.