Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Training fresher in c

Training fresher in c

Scheduled Pinned Locked Moved The Lounge
collaborationquestion
33 Posts 15 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Lost User

    There are few fresher in our team, not much programming experience and I'm given the task to train them on c. Never trained anyone before, so I thought I should ask for suggestions from you guys. Could you please suggest sample projects which would involve c concepts?? If you have any other suggestions please share with me.

    _ Offline
    _ Offline
    _AK_
    wrote on last edited by
    #18

    I think if they are completely novice to the programming then it is better to give them some good books (for general programming) to start with and then later on with giving some sample assignment.

    Apurva Kaushal

    L 1 Reply Last reply
    0
    • A Anna Jayne Metcalfe

      What you're describing is what I'd normally do with work experience kids (i.e. they are there to observe and learn, not to work). The situation the OP describes is somewhat different, and infinitely more concerning - it seems the freshers are expected to work on production code. That being the case, you really want to weed out those who can't cut it as quickly as possible to minimise the resultant damage to the quality of the production codebase.

      Anna :rose: Having a bad bug day? Tech Blog | Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

      _ Offline
      _ Offline
      _AK_
      wrote on last edited by
      #19

      That is abosolutely sucidal to put any one who is like novice in the technology to be put into a production code. :)

      Apurva Kaushal

      1 Reply Last reply
      0
      • C Christian Graus

        Why is that happening ? It's obviously not the right way to do things, is demand for programmers still outstripping supply in India ? It will only hurt your local industry in time. It's the reason I'd never outsource to India again, the experiences I had were all terrible, for precisely this reason ( I was paying for the time of people who had no idea )

        Christian Graus Driven to the arms of OSX by Vista.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #20

        They are not billed to the customer, they are there to get trained and learn about the project and technology.

        H 1 Reply Last reply
        0
        • A Anna Jayne Metcalfe

          Freshers on production projects in C? As Christian has said, that is just asking for trouble. :doh: :doh: :doh: I usually find the best way to find out which ones have aptitude for a language is to give them a copy of one of the reference books and send them off into a corner with the source code for a compiler and its associated libraries * (there are plenty in the public domain). The ones who come back with suggested improvements a week later are the ones you would do well to train...the rest will probably have run away by then. * That's how I learnt the language (butchering the Small-C compiler, it's associated libraries and writing a text editor) so I can vouch for the effectiveness of the technique.

          Anna :rose: Having a bad bug day? Tech Blog | Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #21

          Thanks for the suggestion Anna. No they are not going to work on production project. I was asked to train them for future.

          1 Reply Last reply
          0
          • _ _AK_

            I think if they are completely novice to the programming then it is better to give them some good books (for general programming) to start with and then later on with giving some sample assignment.

            Apurva Kaushal

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #22

            Yeah i was asking for some sample assignments only. :-)

            _ 1 Reply Last reply
            0
            • L Lost User

              Yeah i was asking for some sample assignments only. :-)

              _ Offline
              _ Offline
              _AK_
              wrote on last edited by
              #23

              I don't have much idea in it but what you can do is to get a small application (small but where all the concepts can be programmed basic plus advanced)and divide the tasks or modules to them. Ask them to develop that adhering to the normal coding practices.

              Apurva Kaushal

              1 Reply Last reply
              0
              • L Lost User

                There are few fresher in our team, not much programming experience and I'm given the task to train them on c. Never trained anyone before, so I thought I should ask for suggestions from you guys. Could you please suggest sample projects which would involve c concepts?? If you have any other suggestions please share with me.

                CPalliniC Offline
                CPalliniC Offline
                CPallini
                wrote on last edited by
                #24

                Oh, C is that simple! Without frills like ++ or funny musical accidentals. :-D

                If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                [My articles]

                In testa che avete, signor di Ceprano?

                1 Reply Last reply
                0
                • L Lost User

                  There are few fresher in our team, not much programming experience and I'm given the task to train them on c. Never trained anyone before, so I thought I should ask for suggestions from you guys. Could you please suggest sample projects which would involve c concepts?? If you have any other suggestions please share with me.

                  R Offline
                  R Offline
                  Roger Wright
                  wrote on last edited by
                  #25

                  There are still some C articles here in the C/C++ Forum, though you'll have to search for them the hard way. Use them as guides to develop projects, and as examples for the students to use for reference. Since C is commonly used for hardware control, you might implement a software simulator for some hypothetical hardware device, then set up a series of challenges for them to implement which interact with the "hardware." This would require them, typically, to use bitwise operations, direct I/O control, basic data types, console operations, file I/O, and other basic concepts. Another approach would be to select concepts you want to teach, then design small problems for them to implement. Some tasks might include bulding a console interface to collect, sort, and store user input, perform a FFT or CRC32 on file data, display a line graph, etc. Each task should build on previous lessons and add new concepts; students tend to forget prior lessons if each assignment is standalone. Just a few thoughts; I've never used C for a project, as there were always easier ways to do the task, or customer requirements that specified another choice. But training techniques apply to a broad range of subjects, and I've done a lot of training. Tell them what you expect them to learn, teach them the material, give them a challenge to apply what they've learned, review what they've done right and wrong, repeat until they get it mostly right, then move on to the next topic. The most important part is the doing; lots of practice is key to learning.

                  "A Journey of a Thousand Rest Stops Begins with a Single Movement"

                  1 Reply Last reply
                  0
                  • L Lost User

                    They are not billed to the customer, they are there to get trained and learn about the project and technology.

                    H Offline
                    H Offline
                    Henry Minute
                    wrote on last edited by
                    #26

                    Swathee wrote:

                    They are not billed to the customer

                    Of course they are billed to the customer! If you pay them, that is. Every cost to your company gets billed to your customers, they are not all itemised is all. It's like BOGOF offers, of course you aren't getting one free, you're just paying for it somewhere else, or they got it dirt cheap. Incidentally why is my 'H' key not working today, I keep typing te and tey. End of rant! :)

                    Henry Minute If you open a can of worms, any viable solution *MUST* involve a larger can.

                    1 Reply Last reply
                    0
                    • D Duncan Edwards Jones

                      Maybe he works for HP in the personal printers driver development team?

                      '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd

                      D Offline
                      D Offline
                      Dan Neely
                      wrote on last edited by
                      #27

                      Or creative's audio driver division. Everyone rips on HP (for good reason) but Creative's drivers were bad enough to trigger an OS architecture change. Vista yanked the sound system out of the kernel so that creative bugs wouldn't BSOD windows any longer.

                      Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall

                      1 Reply Last reply
                      0
                      • L Lost User

                        There are few fresher in our team, not much programming experience and I'm given the task to train them on c. Never trained anyone before, so I thought I should ask for suggestions from you guys. Could you please suggest sample projects which would involve c concepts?? If you have any other suggestions please share with me.

                        S Offline
                        S Offline
                        Single Step Debugger
                        wrote on last edited by
                        #28

                        Go for some cryptography – this is a reserved C area; DES and 3DES are not so complicated but implementing them will cover most of the important concepts in C language.

                        The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

                        1 Reply Last reply
                        0
                        • A Anna Jayne Metcalfe

                          Freshers on production projects in C? As Christian has said, that is just asking for trouble. :doh: :doh: :doh: I usually find the best way to find out which ones have aptitude for a language is to give them a copy of one of the reference books and send them off into a corner with the source code for a compiler and its associated libraries * (there are plenty in the public domain). The ones who come back with suggested improvements a week later are the ones you would do well to train...the rest will probably have run away by then. * That's how I learnt the language (butchering the Small-C compiler, it's associated libraries and writing a text editor) so I can vouch for the effectiveness of the technique.

                          Anna :rose: Having a bad bug day? Tech Blog | Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

                          E Offline
                          E Offline
                          El Corazon
                          wrote on last edited by
                          #29

                          Anna-Jayne Metcalfe wrote:

                          The ones who come back with suggested improvements a week later are the ones you would do well to train...the rest will probably have run away by then.

                          So THAT is how I managed to be different.... hmmmm.... my boss always wanted a test to find another "me". That is exactly what I did adding Trig functions to RPG II, creating AI interface in Cobol for a Chess game. :) And then the first thing I did with C was create a QwikDisplay library for fast text/ModeX graphics that was thread-safe and had an interruptable multi-threading interface under DOS. Now the only problem is... is still how to find such a person.... :laugh:

                          _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                          R A 2 Replies Last reply
                          0
                          • E El Corazon

                            Anna-Jayne Metcalfe wrote:

                            The ones who come back with suggested improvements a week later are the ones you would do well to train...the rest will probably have run away by then.

                            So THAT is how I managed to be different.... hmmmm.... my boss always wanted a test to find another "me". That is exactly what I did adding Trig functions to RPG II, creating AI interface in Cobol for a Chess game. :) And then the first thing I did with C was create a QwikDisplay library for fast text/ModeX graphics that was thread-safe and had an interruptable multi-threading interface under DOS. Now the only problem is... is still how to find such a person.... :laugh:

                            _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                            R Offline
                            R Offline
                            Roger Wright
                            wrote on last edited by
                            #30

                            El Corazon wrote:

                            how to find such a person.

                            Have you checked with the lab that created Dolly? [insert forgotten sheep smiley here]

                            "A Journey of a Thousand Rest Stops Begins with a Single Movement"

                            E 1 Reply Last reply
                            0
                            • R Roger Wright

                              El Corazon wrote:

                              how to find such a person.

                              Have you checked with the lab that created Dolly? [insert forgotten sheep smiley here]

                              "A Journey of a Thousand Rest Stops Begins with a Single Movement"

                              E Offline
                              E Offline
                              El Corazon
                              wrote on last edited by
                              #31

                              but can the world suffer having two or more of me? :)

                              _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                              1 Reply Last reply
                              0
                              • E El Corazon

                                Anna-Jayne Metcalfe wrote:

                                The ones who come back with suggested improvements a week later are the ones you would do well to train...the rest will probably have run away by then.

                                So THAT is how I managed to be different.... hmmmm.... my boss always wanted a test to find another "me". That is exactly what I did adding Trig functions to RPG II, creating AI interface in Cobol for a Chess game. :) And then the first thing I did with C was create a QwikDisplay library for fast text/ModeX graphics that was thread-safe and had an interruptable multi-threading interface under DOS. Now the only problem is... is still how to find such a person.... :laugh:

                                _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                                A Offline
                                A Offline
                                Anna Jayne Metcalfe
                                wrote on last edited by
                                #32

                                El Corazon wrote:

                                So THAT is how I managed to be different....

                                I know the feeling. :rolleyes: Within a month of gaining access to a CP/M machine for the first time I was happily writing system software in assembler and dogfooding public domain compilers... :-\ The only difference from the scenario I described in my original post was that I didn't use any significant reference books to do it. ;)

                                Anna :rose: Having a bad bug day? Tech Blog | Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

                                R 1 Reply Last reply
                                0
                                • A Anna Jayne Metcalfe

                                  El Corazon wrote:

                                  So THAT is how I managed to be different....

                                  I know the feeling. :rolleyes: Within a month of gaining access to a CP/M machine for the first time I was happily writing system software in assembler and dogfooding public domain compilers... :-\ The only difference from the scenario I described in my original post was that I didn't use any significant reference books to do it. ;)

                                  Anna :rose: Having a bad bug day? Tech Blog | Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

                                  R Offline
                                  R Offline
                                  Roger Wright
                                  wrote on last edited by
                                  #33

                                  I don't remember there being any reference books for CP/M. :-D I do remember fondly my first computer, but alas there were no tools. The O/S I wrote myself, using the Intel 8080 spec sheets for a reference. Things were so much simpler then... :sigh:

                                  "A Journey of a Thousand Rest Stops Begins with a Single Movement"

                                  1 Reply Last reply
                                  0
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                  • Login

                                  • Don't have an account? Register

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • World
                                  • Users
                                  • Groups