The advent of femtosecond to attosecond experimental tools has made now possible to study such ultrafast carrier dynamics, e.g., the spatial and temporal charge density evolution, after an initial oxidation or reduction in molecules, candidates for atomic wires like polyynes and dicyanopolyynes. Here, we study the electronic structure and hole transfer in symmetric molecules containing carbon, nitrogen and hydrogen, the first members in the series of polyynic carbynes and dicyanopolyynes, using methods based on density functional theory (DFT): constrained DFT (CDFT), time-dependent DFT (TDDFT) and real-time TDDFT (RT-TDDFT), with Löwdin population analysis, comparing many levels of theory and obtaining convergence of the results. For the same purposes, we develop a tight binding (TB) variant using all valence orbitals of all atoms. This TB variant is applied here in linear molecules, but it is also adequate for electronic structure, charge transfer and charge transport of non-linear molecules and clusters of molecules. We calculate the electronic structure, the time-dependent dipole moment and the probabilities of finding the hole at each site, their mean over time values, the mean transfer rates from the oxidation site to other sites and the frequency content (using charge as well as dipole moment oscillations). We take into account zero-point motion. The initial conditions for RT-TDDFT are obtained by CDFT. For TB, we explore different initial conditions: we place the hole at a particular orbital or distribute it among a number of orbitals; it is also possible to include phase differences between orbitals. Finally, we compare with available experimental data.