Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,155,524 members, 7,826,966 topics. Date: Tuesday, 14 May 2024 at 01:18 AM

Octaflav's Posts

Nairaland Forum / Octaflav's Profile / Octaflav's Posts

(1) (2) (of 2 pages)

Programming / Validation Statement In Python by octaflav: 6:39am On Sep 30, 2021
Write a python code or algorithm that validate a student Reg No. It must start with two letters followed by four digits example : CK1234.

An error will be flagged If a user enters an input that is not within the specified conditions.

Kindly help me out with this.
Programming / Re: (urgent) I Need To Connect With Any Igcse Computer Science (0478) Teacher by octaflav: 4:12pm On Sep 15, 2021
greatnaija01:


I am a 7 years experienced teacher for IGCSE students

How can one know the pre release material to prepare with since we have 0478/21, 0478/22, and 0478/23?
Programming / Re: (urgent) I Need To Connect With Any Igcse Computer Science (0478) Teacher by octaflav: 3:51pm On Sep 15, 2021
Visocrate:
Yeah what's up your question or request


How can one know the pre release material to prepare with since we have 0478/21, 0478/22, and 0478/23?
Programming / Re: (urgent) I Need To Connect With Any Igcse Computer Science (0478) Teacher by octaflav: 6:28am On Sep 15, 2021
greatnaija01:


I used to teach but i stopped in 2019 after the Cambridge international exams because I had other things... I will try to find anyone of my old colleagues who can help you

OK. For the first time I have a candidate for IGCSE scheduled to write the exam next month. COMPUTER SCIENCE 0478. I usually handle ICT 0417.

1. I need guidance on the pre release material. (that is the programming component)

2. Does the pre release have different paper version/variants for the same exam?

3. How wiil the candidate know exactly the one to prepare for?

Thanks for your kind assistance.
Education / (urgent) I Need To Connect With Any Igcse Computer Science (0478) Teacher by octaflav: 8:38pm On Sep 14, 2021
Please house, I need to connect with any IGCSE Computer Science (0478) teacher. I will appreciate if anyone can connect me to a teacher with that profile.
Programming / Re: (urgent) I Need To Connect With Any Igcse Computer Science (0478) Teacher by octaflav: 8:37pm On Sep 14, 2021
greatnaija01:


I am a 7 years experienced teacher for IGCSE students


Okay. Do you teach or know anyone that teaches IGCSE Computer Science (0478)?
Programming / (urgent) I Need To Connect With Any Igcse Computer Science (0478) Teacher by octaflav: 8:29pm On Sep 14, 2021
Please house, I need to connect with any IGCSE Computer Science (0478) teacher. I will appreciate if anyone can connect me to a teacher with that profile.
Education / Re: Cambridge Igcse Computer Science (0478) Programming Task by octaflav: 8:32am On Sep 09, 2021
Please pm me

Umarfarouksalau:
How soon
Education / Re: Cambridge Igcse Computer Science (0478) Programming Task by octaflav: 8:52pm On Sep 07, 2021

octaflav:
Hello guys. I'd like to connect to anyone who is teaching the above subject or vast in solving problems /tasks using Python.

Thanks
Education / Cambridge Igcse Computer Science (0478) Programming Task by octaflav: 4:41pm On Sep 07, 2021
Hello guys. I'd like to connect to anyone who is teaching the above subject or vast in solving problems /tasks using Python.

Thanks
Programming / Cambridge Igcse Computer Science (0478) Programming Task by octaflav: 4:14pm On Sep 07, 2021
Hello guys. I'd like to connect to anyone who is teaching the above subject or vast in solving problems /tasks using Python.

Thanks
Computers / Re: Post Your Laptop Problems Here And Get Solution To Fix It Yourself by octaflav: 12:14pm On Jul 23, 2020
Camera error 0xa00f4292 <photocapturetimeout> in windows 10 version 1803

I have been battling with the solution to the above error for days now. I will like to get any workable solution. Thanks. Rex
Computers / Re: Windows 10 Problems And Solutions (official Microsoft Windows 10 links added) by octaflav: 11:05pm On Jul 22, 2020
Camera error 0xa00f4292 <photocapturetimeout> in windows 10 version 1803

I have been battling with the solution to the above error for days now. I will like to get any workable solution. Thanks. Rex
Software/Programmer Market / I Need A Programmer Who Is Good In NLP by octaflav: 8:55pm On Sep 20, 2019
I am in chapter four of my thesis. I need a programmer who is vast in Natural Language Processing to carry out the classification aspect of my work, which is machine learning oriented.
Education / I Need Help In Fake News Detection Model by octaflav: 11:00pm On Sep 02, 2019
Good evening guys. I am currently on Chapter 4 of my thesis work - Proactive Model For Online Fake News Detection. I am using N gram as my feature extraction algorithm. But I need help in the building of the classifier for training the model. I am still learning python. I will also appreciate any python script that can help in this direction.
Programming / I Need Help In Fake News Detection Model by octaflav: 10:00pm On Sep 02, 2019
Good evening guys. I am currently on Chapter 4 of my thesis work - Proactive Model For Online Fake News Detection. I am using N gram as my feature extraction algorithm. But I need help in the building of the classifier for training the model. I am still learning python. I will also appreciate any python script that can help in this direction.

2 Likes 1 Share

Education / Re: Free Robotics Training For Schools by octaflav: 9:08pm On Jun 16, 2019
octaflav:
RoboRave playshop holds in PORT HARCOURT on June 21st @ Trinitate International School, Eneka Road, Igwuruta. Secondary Schools in Port Harcourt and neighbouring states are invited. It's an opportunity to inculcate Robotics culture in our teaching and learning experience. The students will be taught how to program ROBOTS Live. It's a practical class. It's absolutely FREE. For Reservation of Space. Call 07063875608, or email ict.trinitate@gmail.com. Hurry. Limited space available.

It's for secondary schools. The training will demystify the inner workings of Robots.
Education / Free Robotics Training For Schools by octaflav: 4:26pm On Jun 16, 2019
RoboRave playshop holds in PORT HARCOURT on June 21st @ Trinitate International School, Eneka Road, Igwuruta. Secondary Schools in Port Harcourt and neighbouring states are invited. It's an opportunity to inculcate Robotics culture in our teaching and learning experience. The students will be taught how to program ROBOTS Live. It's a practical class. It's absolutely FREE. For Reservation of Space. Call 07063875608, or email ict.trinitate@gmail.com. Hurry. Limited space available.
Politics / Re: Pastor Chris Oyakhilome Celebrates Orji Uzor Kalu's 59th Birthday In South Afric by octaflav: 9:18am On Apr 22, 2019
cescky:


I dont agree with you
Orji may be a thief..but which court of law has pronounced him one?

Hes a dignatry..the bible says to respect such.

Jesus dined at a customs officers house...( their bribery,opression and extortion was like present day SARS) and the the "holy" people of then like you were grumbling..but he told them only the sick need a doctor, well people like you dont need one

You need to understand Gods character..hes not willing or deosnt want any one to perish, even that witch in your village.

Lastly what God counts as justice is not what man counts as justice.
God counts belief in christ as justice while oversabi like you counts forming holiness as justice..

Case study the armed robber on the cross...how did he make heaven? Just because he believed! ..

God offered salvation as a gift to man..hes not angry with man..and he doesnt look at mans so called am holy character..that being said when your saved a lot of worldlt things fail to appeal to you anymore

The wisdom of this world is foolishness compared to God's wisdom. God's love is too deep for the unregenerate man to comprehend. In the eyes of divine Justice everyone is saved because Jesus died for the sin of the world. And that's why we're mandated to let the whole world know that the ultimate price has been paid. Believe and Accept Jesus as the Lord of your life and confess same with your mouth and vitally you are saved. Everyone deserves to be loved and that's what many are yet to relate to.

2 Likes

Programming / Re: Please,Help Explain This Code In C by octaflav: 10:25pm On Mar 29, 2019
airsaylongcon:


Some questions for you.

1) Can you program? Can you program in C (or C++)
2) Do you know what a lexical analyser does?
3) If you can program, do you actually have a C compiler and IDE installed on your system where you actively write, compile and debug programs?

I haven't touched programming in a while but I can understand what the bit of code I shared with you is doing. It takes an external file called PROGRAM.TXT and analyses the content of the file to identify tokens within the file. The tokens are identified as either constants, keyword (C language keywords) or operators (such as +, -, ÷, x). Its a very straightforward program despite its seemingly complicated look

I'm learning C++ and python. And yes I know how a lexical analyzer works because it's part of the contents in one of my courses Compiler Construction. Thanks for your input
Programming / Re: Please,Help Explain This Code In C by octaflav: 10:16pm On Mar 29, 2019
valzey:

Don't be afraid. Its a simple program that:
Opens a file called "program.txt"
Goes through every string in the file:
If it finds an operator (+,-,/,*) it prints its an operator.
If it finds a keyword it prints it is a keyword
If it is none it prints it is an identifier.

Thanks for your time in shedding more light. I am to explain or teach how a lexical analzer works in C. I can explain the concepts and its rudiments but I need a short program like [b]sum of the first fifty odd numbers [/b]to be used as my working example within the time allotted to me
Programming / Re: Please,Help Explain This Code In C by octaflav: 2:55pm On Mar 29, 2019
airsaylongcon:
Of a quick Google search this is what I got. And it's a bit intuitive to analeand understand it.

60

#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<ctype.h>

 

int isKeyword(char buffer[]){


char keywords[32][10] ={"auto","break","case","char","const","continue","default", "do","double","else","enum","extern","float","for","goto", "if","int","long","register","return","short","signed", "sizeof","static","struct","switch","typedef","union", "unsigned","void","volatile","while"};

int i, flag = 0;

for(i = 0; i < 32; ++i){

if(strcmp(keywords[i], buffer) == 0){

flag = 1;

break;

}

}



return flag;

}

 

int main(){

char ch, buffer[15], operators[] = "+-*/%=";

FILE *fp;

int i,j=0;



fp = fopen("program.txt","r"wink ;


if(fp == NULL){

printf("error while opening the file\n"wink ;

exit(0);

}



while((ch = fgetc(fp)) != EOF){

   for(i = 0; i < 6; ++i){

   if(ch == operators[i])

   printf("%c is operator\n", ch) ;

   }

  

   if(isalnum(ch)){

   buffer[j++] = ch;

   }

   else if((ch == ' ' || ch == '\n') && (j != 0)){

   buffer[j] = '\0';

   j = 0;

     

   if(isKeyword(buffer) == 1)
printf("%s is keyword\n", buffer) ;

   else

   printf("%s is indentifier\n", buffer) ;

   }

  

}



fclose(fp) ;



return 0;

}
?
Programming / Re: Please,Help Explain This Code In C by octaflav: 12:56pm On Mar 29, 2019
airsaylongcon:
I disagree with the post above that it does nothing. The fact that it doesn't display any output given the state of the variables doesn't mean it does nothing.

The code assigns a new value to variable k, checks if the flag variable is equal to 10 (and since it doesn't, nothing is displayed) and waits for input from user to terminate the program execution

Ok. Another good insight. So, what name can you give the above program? Or do you have any small program in C that could be used to show how a Lexical Analyzer works. That will be fine
Programming / Re: Please,Help Explain This Code In C by octaflav: 12:44pm On Mar 29, 2019
valzey:
From a functional perspective, the code does nothing.
It does some processing on some variables (i, j, k) which it never uses.
Now 'Hello All' will never be displayed because flag can never be 10.
Finally getchar() just keeps the program on till you enter a character and press enter at which the program terminates.

So it does nothing.

Ok, I appreciate your opinion. I actually got the code from you tube. I am to do a presentation on the implementation of a Lexical Analyzer in C Language so the code is meant to be my working code. But I couldn't really decode what's all about. Thanks for your insight.
Programming / Re: Please,Help Explain This Code In C by octaflav: 7:00pm On Mar 28, 2019
Please, I need help on the explanation of this code in C language
Programming / Please,Help Explain This Code In C by octaflav: 4:56pm On Mar 27, 2019
Good evening to you, please I need a line by line explanation on these lines of Code. Got it from you tube, but the explanation given was not clear. Thanks in advance


Input file in C
#include<stdio.h>
#include<conio.h>
void main()
{

int i,j=1,k=2,flag;
for(i=0;<=4;i++)
{
k=i+j*k;
}
flag=55;
if(flag==10)
printf(“Hello All”);
getch();

}
Education / Re: As A Teacher, How Can I Help Boost Confidence In A Timid Pupil by octaflav: 2:44pm On Mar 14, 2016
Get a copy of the book THE POWER YOUR MIND by Rev Chris Oyakhilome (PhD

(1) (2) (of 2 pages)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 38
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.